• Creates an AGO-style JSON failure response with success property.

    Parameters

    • Optional e: any

      Optional error information

    Returns any

    JSON structure with property success set to false and optionally including e