@suluk/core - v0.1.13
    Preparing search index...

    Interface ProblemDetails

    An RFC-9457 Problem Details object. type is the machine identifier (a URI reference; default "about:blank"), title is human-readable, status is the HTTP status. detail is the human explanation; errors carries structured validation details (what saastarter put in details). error is a LEGACY machine-code member kept for Phase 0 (the existing SDK + the @suluk/hono deny() body read it) — deprecated in favor of type/detail.

    interface ProblemDetails {
        type: string;
        title: string;
        status: ProblemStatus;
        detail?: string;
        instance?: string;
        errors?: Record<string, unknown>;
        error?: string;
        [ext: `x-${string}`]: unknown;
    }

    Indexable

    • [ext: `x-${string}`]: unknown
    Index

    Properties

    type: string
    title: string
    detail?: string
    instance?: string
    errors?: Record<string, unknown>

    structured validation errors (saastarter's details).

    error?: string

    legacy machine code (Phase-0 bridge); prefer type/detail.