Creates an AGO-style JSON failure response with success property.
Optional
Optional error information
JSON structure with property success set to false and optionally including e
e
Creates an AGO-style JSON failure response with success property.