Module util

Source

Structs§

ErrorHandler 🔒
A wrapper for error handling in admin services.

Functions§

to_json_response
Returns a 200 response with a JSON body.
to_not_found_response
Returns a 404 response with an empty body.
to_text_response
Returns a 200 response with a text body.