-
Notifications
You must be signed in to change notification settings - Fork 74
Exception
Andrea Zoellner edited this page Jul 30, 2015
·
2 revisions
- Class name: Exception
- Namespace: Crew\Unsplash
- Parent class: Exception
mixed Crew\Unsplash\Exception::__construct(array $message, integer $code, \Crew\Unsplash\Exception|null $previous)
Override the constructor to accept an array instead of a string.
We then transform the array into a string.
- Visibility: public
- $message array - <p>Array containing the errors</p>
- $code integer - <p>Error code</p>
- $previous Crew\Unsplash\Exception|null - <p>Previous Exception object</p>
array Crew\Unsplash\Exception::getArray()
Retrieve the array of errors.
- Visibility: public