[optional] An additional message to add to the wrapping exception before the message of the passed exception.
$wrap
—
boolean
[optional] Whether to throw the exception using the passed class (FQN), in the same exception type (true), or wrap it with the class this method was called on (false). Any other value will be translated to false.