An exception should not used to returning structured data, but only to handle *exceptions* with an optional error message.