Base class for all custom errors in the application. Provides consistent error structure with error codes.
toJSON(): Record<string, unknown>
Returns a JSON-serializable representation of the error
Base class for all custom errors in the application. Provides consistent error structure with error codes.
toJSON(): Record<string, unknown>
Returns a JSON-serializable representation of the error
import { BaseError } from ".";