<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_response(cls, code=Status.SYSTEM_ERROR, errors=None):
 """Utility method to build a new Resource Error object. Can be used to build all kinds of error messages. """

        errors = [errors] if not isinstance(errors, list) else errors
        return cls(code, errors)