NotImplementedException
extends ReporterException
in package
This exception is thrown by default by all methods in the services abstractions. So that if a function is accessed for an api version that haven't implemented it, this exception will be thrown.
Table of Contents
- code = 666
- $data : array<string|int, mixed>
- $errorKey : string
- The codified error key, if exists
- $httpResponseCode : int
- The HTTP Response Code to return
- __construct() : mixed
- getData() : array<string|int, mixed>
- getErrorKey() : string
- getHttpResponseCode() : int
- render() : Response
- Render the exception into an HTTP response.
- report() : bool|null
- Report the exception.
Constants
code
public
mixed
code
= 666
Properties
$data
private
array<string|int, mixed>
$data
optional data
$errorKey
The codified error key, if exists
private
string
$errorKey
$httpResponseCode
The HTTP Response Code to return
private
int
$httpResponseCode
Methods
__construct()
public
__construct(string $className, string $function) : mixed
Parameters
- $className : string
- $function : string
Return values
mixed —getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getErrorKey()
public
getErrorKey() : string
Return values
string —getHttpResponseCode()
public
getHttpResponseCode() : int
Return values
int —render()
Render the exception into an HTTP response.
public
render(Request $request) : Response
Parameters
- $request : Request
Return values
Response —report()
Report the exception.
public
report() : bool|null