prettier errormessages for profile-related errors