PHP Class Learner\Exceptions\CribbbException

Inheritance: extends Exceptio\Exception
Show file Open project: RryLee/learner.video

Protected Properties

Property Type Description
$detail string
$id string
$status string
$title string

Public Methods

Method Description
__construct ( $message ) : void
getStatus ( ) : integer Get the status
toArray ( ) : array Return the Exception as an array

Protected Methods

Method Description
build ( array $args ) : string Build the Exception

Method Details

__construct() public method

public __construct ( $message ) : void
return void

build() protected method

Build the Exception
protected build ( array $args ) : string
$args array
return string

getStatus() public method

Get the status
public getStatus ( ) : integer
return integer

toArray() public method

Return the Exception as an array
public toArray ( ) : array
return array

Property Details

$detail protected property

protected string $detail
return string

$id protected property

protected string $id
return string

$status protected property

protected string $status
return string

$title protected property

protected string $title
return string