# ResponseErrorObject Interface

Module
import { ResponseErrorObject } from "@tsed/common"
Source/packages/common/src/mvc/interfaces/ResponseErrorObject.ts

# Overview

interface ResponseErrorObject extends Error {
    errors?: any[];
    origin?: Error;
    headers?: {};
}

# Description

Interface can be implemented to customize the error sent to the client.

# Members

errors?: any[];

origin?: Error;

headers?: {};