Skip to main content

OvokApiError

A typed HTTP error for Ovok API responses whose status carries application meaning.

Kind: Class
Package: @ovok/core

Import​

import { OvokApiError } from '@ovok/core';

TypeScript signatures​

(details: OvokErrorDetails, cause: unknown): OvokApiError
ParameterTypeDetails
detailsOvokErrorDetails—
causeunknown—

Returns: OvokApiError.

Public members​

MemberTypeDetails
statusnumber—
codestring | undefined—
fieldErrorsValidationError[]—
missingstring[]—
causeunknown—

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.