InvalidFormatTypeException
class InvalidFormatTypeException extends InvalidArgumentException (View source)
The "Invalid Format Type" exception
Thrown when $formatType parameter provided to any Readers' method is not one of allowed values.
Properties
protected string | $referenceCode | from Exception | |
protected int | $statusCode | from Exception |
Methods
string
getReferenceCode()
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
from
Exception
int
getStatusCode()
Returns the HTTP status code this exception corresponds to (defaults to 500).
from
Exception
Details
string
getReferenceCode()
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
int
getStatusCode()
Returns the HTTP status code this exception corresponds to (defaults to 500).