======================= Miscellaneous Functions ======================= .. function:: fail(message) Throws user error with the specified message. .. function:: fail(code, message) Throws user error with the specified message. Ignores 'code' argument. .. function:: fail(json) Throws user error with the message specified in 'message' field of the JSON. .. function:: fail(code, message) Throws user error with the message specified in 'message' field of the JSON. Ignores 'code' argument.