Pletacka website Nette documentation
Documentation for pletacka project
Public Member Functions | Protected Attributes | List of all members
App\Exceptions\MyException Class Reference

The exception that indicates client error with HTTP code 4xx. More...

Inheritance diagram for App\Exceptions\MyException:
App\Exceptions\ERROR App\Exceptions\SensorNotExist App\Exceptions\SettingsNotExist App\Exceptions\TableNotExist

Public Member Functions

 __construct (string $thhpMessage='', int $httpCode=0, \Throwable $previous=null)
 
 getHttpCode ()
 
 getHttpMessage ()
 

Protected Attributes

 $code = IResponse::S409_CONFLICT
 

Detailed Description

The exception that indicates client error with HTTP code 4xx.

Constructor & Destructor Documentation

◆ __construct()

App\Exceptions\MyException::__construct ( string  $thhpMessage = '',
int  $httpCode = 0,
\Throwable  $previous = null 
)

Member Function Documentation

◆ getHttpCode()

App\Exceptions\MyException::getHttpCode ( )

◆ getHttpMessage()

App\Exceptions\MyException::getHttpMessage ( )

Member Data Documentation

◆ $code

App\Exceptions\MyException::$code = IResponse::S409_CONFLICT
protected

The documentation for this class was generated from the following file: