Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsError

Represents an OpenNMS.js error. This will eventually have custom stuff to do... stuff.

Hierarchy

  • OnmsError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new OnmsError(mess: string, code?: number): OnmsError
  • Create a new error.

    constructor

    Parameters

    • mess: string
    • Optional code: number

      An optional error code to associate with the error.

    Returns OnmsError

Properties

mess

mess: string

Accessors

code

  • get code(): number

error

  • get error(): Error

message

  • get message(): string

Methods

toString

  • toString(): string

Generated using TypeDoc