0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

NestJS ビルトインのException一覧

Last updated at Posted at 2022-10-31

ビルトインのException一覧

Exception 説明 対応するHTTPステータス
BadRequestException リクエストが不正 400
UnauthorizedException 認証が必要 401
NotFoundException リソースが見つからない 404
ForbiddenException アクセスが許可されていない 403
NotAcceptableException リクエストで指定されたAcceptヘッダーの値がサポートされていない 406
RequestTimeoutException リクエストがタイムアウト 408
ConflictException リクエストが競合している 409
GoneException リソースが存在しない 410
HttpVersionNotSupportedException リクエストで指定されたHTTPバージョンがサポートされていない 505
PayloadTooLargeException リクエストのペイロードが大きすぎる 413
UnsupportedMediaTypeException リクエストで指定されたContent-Type/Content-Encodingヘッダーの値がサポートされていない 415
UnprocessableEntityException リクエストが処理できない 422
InternalServerErrorException サーバー内部でエラーが発生した 500
NotImplementedException リクエストされた機能は実装されていない 501
ImATeapotException ティーポットだよ(ジョークステータス) 418
MethodNotAllowedException リクエストで指定されたメソッドがサポートされていない 405
BadGatewayException リクエストが不正 502
ServiceUnavailableException サービスが利用できない 503
GatewayTimeoutException ゲートウェイがタイムアウト 504
PreconditionFailedException リクエストの前提条件が満たされていない 412

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?