UnknownKeyException
extends Exception
in package
The unknown key exception class
This exception is thrown when a required key is not found
Table of Contents
Properties
- $key : string
- The key of success
Methods
- __construct() : mixed
- Constructor
- getKey() : string
- Get the unknown key
Properties
$key
The key of success
protected
string
$key
Methods
__construct()
Constructor
public
__construct(string $message, string $key) : mixed
Parameters
- $message : string
-
The message.
- $key : string
-
The unknown key.
getKey()
Get the unknown key
public
getKey() : string
Return values
string —The key.