Crypto Server
    Preparing search index...

    Function problem

    • Build a problem body. title defaults to the slug's title.

      Parameters

      • status: number
      • slug:
            | "validation-failed"
            | "invalid-input"
            | "unauthorized"
            | "forbidden"
            | "not-found"
            | "key-not-found"
            | "key-algorithm-mismatch"
            | "key-store-full"
            | "key-quota-exceeded"
            | "payload-too-large"
            | "rate-limited"
            | "request-error"
            | "internal-error"
            | "conflict"
            | "kms-provider-not-enabled"
            | "kms-key-not-found"
            | "kms-key-disabled"
            | "not-implemented"
            | "service-unavailable"
      • detail: string
      • extensions: Record<string, unknown> = {}
      • Optionalinstance: string

      Returns Problem