CreatedException
class CreatedException extends HttpException (View source)
Properties
protected string | $status | Define the status code has message |
from HttpException |
Methods
__construct(string $message, string $status = 'CONTENT_CREATED')
CreatedException constructor
Details
__construct(string $message, string $status = 'CONTENT_CREATED')
CreatedException constructor
string
getStatus()
Get the define user error code
string
getStatusCode()
Get the status code