Create reusable error response handler
Properties!