Options
All
  • Public
  • Public/Protected
  • All
Menu

Category of Web Socket Error.

Hierarchy

  • ErrorCategory
    • Category

Index

Constructors

constructor

  • Default Constructor.

    Returns Category

Methods

default_error_condition

  • default_error_condition(val: number): ErrorCondition
  • Get default error condition.

    Parameters

    • val: number

      Identifier of an error condition.

    Returns ErrorCondition

    The error condition.

equivalent

  • equivalent(val_code: number, cond: ErrorCondition): boolean
  • equivalent(code: ErrorCode, val_cond: number): boolean
  • Test equivalence.

    Parameters

    • val_code: number

      Identifier of an error code.

    • cond: ErrorCondition

      An error condition.

    Returns boolean

    Whether equivalent or not.

  • Test equivalence.

    Parameters

    • code: ErrorCode

      An error code.

    • val_cond: number

      Identifier of an error condition.

    Returns boolean

    Whether equivalent or not.

message

  • message(val: number): string

name

  • name(): string

Generated using TypeDoc