Class ByteifyError

The class of the errors of the module byteify.

Hierarchy

Constructors

  • The constructor of the [[ByteifyError]] class.

    Parameters

    • message: string = ByteifyError.DEFAULT_MESSAGE

      The message of the error

    Returns ByteifyError

Properties

cause?: unknown
message: string
name: string
stack?: string
DEFAULT_MESSAGE: string = 'Error in byteify'

The default message of the error

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

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc