baserCMS クラスリファレンス

BcBadRequestException extends BcException
in package
implements HttpErrorCodeInterface

Class BcBadRequestException

利用者の入力の誤りを表す例外

サービス層やモデル層で、送信値が不正なことを呼び出し元へ伝えるために使う。 HTTP のステータスコードは 400 となる。 BcException を継承しているため、BcException を受け止めている既存の処理でもそのまま扱える。

Table of Contents

Interfaces

HttpErrorCodeInterface

Properties

$_defaultCode  : int
デフォルトのステータスコード

Properties

On this page

Search results