You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * HttpException constructor. * * @param int $statusCode // Provided by the child class * @param array $httpHeaders // Opposite end of the signature from the child * @param string $error // Internal (?) name for the error * @param string $errorDescription * @param array $errorData * @param string $userTitle * @param string $userMessage * @param \Exception|null $previous */
Given the length of these signatures and different requirements, it may be more beneficial to provide the common Exception elements (message, code, previous), with an array of other values that can be checked for presence, requirement, type, etc.
The text was updated successfully, but these errors were encountered:
Example:
Given the length of these signatures and different requirements, it may be more beneficial to provide the common
Exception
elements (message, code, previous), with an array of other values that can be checked for presence, requirement, type, etc.The text was updated successfully, but these errors were encountered: