@neylion/exceptions
Version:
Exceptions commonly used within ney projects
13 lines (12 loc) • 436 B
TypeScript
import { IException, IExceptionBase } from "./exceptions/Exception";
declare class ResponseFriendlyException implements IExceptionBase {
message: string;
statusCode: number;
errorCode?: number;
type: string;
typeDescription: string;
innerException?: any;
constructor(exception: IException);
}
export declare function getResponseFriendlyException(exception: IException): ResponseFriendlyException;
export {};