Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProtocolError

Marks an error that mandates a disconnect of a single connection that was caused by a bad message (protocol error) being received from the server, e.g. an unparseable IRC message or an invalid response to some action.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new ProtocolError(message?: undefined | string, cause?: Error | undefined): ProtocolError

Properties

Optional cause

cause: Error | undefined

message

message: string

name

name: string

stack

stack: string

Generated using TypeDoc