Crypto Server
Preparing search index...
lib/problem
sendProblem
Function sendProblem
sendProblem
(
reply
:
FastifyReply
,
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
>
,
)
:
FastifyReply
Send a problem with the problem+json media type.
Parameters
reply
:
FastifyReply
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
Optional
extensions
:
Record
<
string
,
unknown
>
Returns
FastifyReply
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Crypto Server
Loading...
Send a problem with the problem+json media type.