UNPKG

featherbone-shipengine

Version:

Forked and patched version of the official ShipEngine JavaScript SDK for Node.js

21 lines (20 loc) 608 B
import { ErrorSource } from "../constants"; import { ShipEngineError } from "./shipengine-error"; /** * This error occurs when a rquired field has not been set. * This includes fields that are conditionally required. */ export declare class FieldValueRequiredError extends ShipEngineError { /** * The name of the missing field. */ readonly fieldName: string; /** * Instantiates a client-side error. */ constructor(fieldName: string); /** * Instantiates a server-side error. */ constructor(requestID: string, source: ErrorSource, fieldName: string); }