web / ErrorParams
Type Alias: ErrorParams ​
ErrorParams:
object
Type declaration ​
cause? ​
optional
cause:unknown
An optional cause for the error, providing more context or the underlying error that led to this error.
message ​
message:
string
The error message.
statusCode? ​
optional
statusCode:number
The HTTP status code associated with this error.