Class AresError<Code>

Represents an error that is thrown by the client.

Type Parameters

Hierarchy

  • Error
    • AresError

Constructors

Properties

prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number
code: "TEST" | "TESTARGS" | "MethodNotImplemented" | "InvalidDirPath"
name: string
message: string
stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc