I'm throwing the exception using the array like so:
$response = array('login_email' => '<div class="warning">Your email and / or password were incorrect</div>');
throw new \Exception($response);
and what I'm catching is:
Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])
Any idea?