frapi/frapi — Issue #109: returning Frapi_Error from an action errors when output is JSON
Author: clayhinson
Created: 2012-03-03 05:05:12+00:00
State: open

The JSON output class expects its data to be an array, and cannot handle a Frapi_Error object.

throwing the Frapi_Error causes it to be handled properly, but the default code template uses return if validation errors occur.