Preparing search index...
The search index is not available
Midway v3 Api Reference
Midway v3 Api Reference
@midwayjs/core
MidwayHttpError
Class MidwayHttpError
Hierarchy
MidwayError
MidwayHttpError
Index
Constructors
constructor
Properties
cause
code
status
Constructors
constructor
new
Midway
Http
Error
(
resOrMessage
:
ResOrMessage
, status
:
number
)
:
MidwayHttpError
Parameters
resOrMessage:
ResOrMessage
status:
number
Returns
MidwayHttpError
new
Midway
Http
Error
(
resOrMessage
:
ResOrMessage
, status
:
number
, code
:
string
, options
?:
ErrorOption
)
:
MidwayHttpError
Parameters
resOrMessage:
ResOrMessage
status:
number
code:
string
Optional
options:
ErrorOption
Returns
MidwayHttpError
Properties
cause
cause
:
Error
code
code
:
string
|
number
status
status
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Midway v3
Api
Reference
@midwayjs/bootstrap
@midwayjs/core
Consumer
Metadata
FaaSMetadata
GRPCMetadata
@midwayjs/decorator
@midwayjs/koa
Midway
Http
Error
constructor
cause
code
status
Generated using
TypeDoc