Use when EP Api behaves unexpectedly or not according to spec.

Example

throw new EpSdkApiContentError(logName, "applicationDomainResponse.data === undefined", {
applicationDomainId: applicationDomainId
});

Hierarchy

Constructors

Properties

details: any
message: string
name: string
stack?: string
DefaultDescription: string = 'EP Api Content Error'
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void