Skip to main content

SignalsError

A typed error returned by an Ovok Signals API route.

Kind: Class
Package: @ovok/core

Import​

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

TypeScript signatures​

(code: SignalsErrorCode, status: number, message: string, options?: SignalsErrorOptions): SignalsError
ParameterTypeDetails
codeSignalsErrorCode—
statusnumber—
messagestring—
optionsSignalsErrorOptions—

Returns: SignalsError.

Public members​

MemberTypeDetails
codeSignalsErrorCode—
statusnumber—
fieldErrorsSignalsFieldError[]—
causeunknown—

Learn the workflow​

Continue with Signals for the workflow context and examples.

Source​

View the declaration in the SDK source.