Crypto Server
Preparing search index...
lib/problem
problem
Function problem
problem
(
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
>
,
instance
?:
string
,
)
:
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
>
= {}
Optional
instance
:
string
Returns
Problem
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Crypto Server
Loading...
Build a problem body.
titledefaults to the slug's title.