title: Can you throw an array instead of a string as an exception in php?
body: <p>I want to throw an array as an exception in php, instead of a string. Is it possible to do this if you define your own class that extends the Exception class?</p>
  
  <p>For example <code>throw new CustomException('string', $options = array('params'));</code></p>