Class OperationNotSupportedInCurrentConnectionStateError

Gets thrown if an operation of RaftController is called while the controller is not in an appropriate connection state (e.g. propose() is called before the controller has connected to the Raft cluster).

Hierarchy

  • Error
    • OperationNotSupportedInCurrentConnectionStateError

Constructors

Properties

message: string
name: string
stack?: string
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