<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_from_invalid_request(cls, invalid_request_object):
 """Utility method to build a new Error object from parameters. Typically used to build HTTP 422 error response."""

        errors = [{err['parameter']: err['message']} for err in invalid_request_object.errors]
        return cls.build_response(Status.UNPROCESSABLE_ENTITY, errors)