Class APIError

description

Extend the APIError class to print a message to the server log, and then throw the error

Hierarchy

  • APIError

Index

Constructors

Constructors

constructor

  • new APIError(message: string, callbackFunc?: any): APIError
  • description

    Log message to the server log and throw a APIError

    callbackfunc

    optional callback for the case when client application code is not using promises

    Parameters

    • message: string
    • Optional callbackFunc: any

    Returns APIError