Search
Preparing search index...
The search index is not available
Typescript-rest
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"server-types"
HttpError
Class HttpError
The Base class for all HTTP errors
Hierarchy
Error
HttpError
BadRequestError
UnauthorizedError
ForbidenError
NotFoundError
MethodNotAllowedError
NotAcceptableError
ConflictError
GoneError
UnsupportedMediaTypeError
InternalServerError
NotImplementedError
Index
Constructors
constructor
Properties
message
status
Code
Error
message
name
stack
Constructors
constructor
new
Http
Error
(
name
:
string
, statusCode
:
number
, message
:
string
)
:
HttpError
Parameters
name:
string
statusCode:
number
message:
string
Returns
HttpError
Properties
message
message
:
string
status
Code
status
Code
:
number
Static
Error
Error
:
ErrorConstructor
Static
message
message
:
string
Static
name
name
:
string
Static
Optional
stack
stack
:
string
Globals
"collections.d"
"decorators"
"metadata"
"server"
"server-
container"
"server-
errors"
"server-
return"
"server-
types"
"typescript-
rest"
Http
Method
Http
Error
constructor
message
status
Code
Error
message
name
stack
Referenced
Resource
Service
Context
Generated using
TypeDoc
The Base class for all HTTP errors