Hierarchy

  • Error
    • NoMessagesFoundError

Constructors

  • Parameters

    • Optional message: string

    Returns NoMessagesFoundError

  • Parameters

    • Optional message: string
    • Optional options: ErrorOptions

    Returns NoMessagesFoundError

Properties

cause?: unknown
code: string = 'ERR_NO_MESSAGES_FOUND'

This will be removed in a future release

Deprecated

use the .name property instead

message: string
name: string = 'NoMessagesFoundError'
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void