Serendip Framework > Http > HttpError
@module Http
Error
↳ HttpError
⊕ new HttpError(code: number
, message: string
, id?: string
): HttpError
Defined in src/http/HttpErrorHandler.ts:5
Parameters:
Name | Type |
---|---|
code | number |
message | string |
Optional id |
string |
Returns: HttpError
● code: number
Defined in src/http/HttpErrorHandler.ts:20
● description: string
Defined in src/http/HttpErrorHandler.ts:21
● id: string
Defined in src/http/HttpErrorHandler.ts:23
● message: string
Inherited from Error.message
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:964
● more_info: string
Defined in src/http/HttpErrorHandler.ts:24
● name: string
Inherited from Error.name
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:963
● stack: string
Inherited from Error.stack
Overrides Error.stack
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:965
● stacktrace: string
Defined in src/http/HttpErrorHandler.ts:22
● Error: ErrorConstructor
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974