Skip to main content

Module error

Module error 

Source
Expand description

Contains error types and their HTTP response conversions for the Molten API.

This module defines ApiError for handling various application-specific errors originating from service and configuration layers, converting them into appropriate HTTP status codes and JSON responses. It also includes BuildError for errors encountered during application startup.

Enums§

ApiError
A wrapper to allow us to implement Http responses for the API
BuildError
Represents errors that can occur during the API server’s startup phase. These errors typically relate to database connection issues or I/O operations essential for initializing the application.