Discover ways to streamline errorhandling in the client. Create custom errortypes and throw them when needed.