@ctx-core/error
Advanced tools
Changelog
12.0.0
InvalidArgumentError_T=>invalid_argument_error_o_T
HttpError constructor arguments: (message?:string):
HttpError BadCredentialsError BadGatewayError BadRequestError InvalidArgumentError InvalidStateError MissingArgumentError NotFoundError UnauthorizedError
InvalidStateError_T=>invalid_state_error_o_T:
key?:string reason?:string
arguments: (message?:string, invalid_state_error_o?:invalid_state_error_o_T):
invalidstate_error invalid_state__throw
arguments: (message?:string, missing_argument_error_o?:missing_argument_error_o_T):
missingargument_error missing_argument__throw
error,__throw: arguments: (message?:string, error_o?:error_o_T):
badgateway_error badgateway__throw bad_request_error badrequest__throw http_error httperror__throw missing_argument_error missingargument__throw not_found_error notfound__throw unauthorized_error unauthorized__throw
arguments: (message?:string, bad_credentials_error_o?:bad_credentials_error_o_T):
badcredentials_error bad_credentials__throw
error_o_T:
arguments: (message?:string, invalid_argument_error_o?:invalid_argument_error_o_T):
invalidargument_error invalid_argument__throw
MissingArgumentError_T=>missing_argument_error_o_T:
key?:string