# Functions

HandlerToJSONEndpoint converts a handler to a proper Gizmo JSONEndpoint.
NewErrorResponse creates a new ErrorResponse with the given error.

# Structs

ErrorResponse represents the basic error returned by the API on operation failures.

# Interfaces

GizmoJSONResponse represents a response type that can be converted to Gizmo's JSONEndpoint result format.

# Type aliases

Handler represents a function that receives an HTTP request and returns a GizmoJSONResponse.