Figured out how to throw an exception from spl with custom format.
License