Iskra API Reference
    Preparing search index...

    Class HttpError

    Clase base para todos los errores del framework Iskra. Soporta encadenamiento de errores vía cause y metadata arbitraria en context.

    Hierarchy (View Summary)

    Index
    code: ErrorCode
    context: Record<string, unknown>
    headers?: Record<string, string>

    Headers the error response carries (Allow, WWW-Authenticate, Retry-After).

    status: number
    • Returns HTTPException

    • Returns {
          cause?: string;
          code: ErrorCode;
          context: Record<string, unknown>;
          message: string;
          name: string;
      }