jmap-kit
Preparing search index...
jmap-client/test-utils
createErrorTransport
Function createErrorTransport
createErrorTransport
(
problemDetails
:
ProblemDetails
<
JMAPRequestErrorTypes
>
,
)
:
Mocked
<
Transport
>
Creates a mock transport that throws a JMAPRequestError with the provided problem details
Parameters
problemDetails
:
ProblemDetails
<
JMAPRequestErrorTypes
>
Returns
Mocked
<
Transport
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
jmap-kit
Loading...
Creates a mock transport that throws a JMAPRequestError with the provided problem details