Agent

Classes

Agent

Type Definitions

AgentInvalidEventHandlerException

Fired when an invalid event handler is passed to any Agent Library event subscriber.

Properties:
Name Type Description
code String

The code of the error, in this case it is 'Agent.InvalidEventHandler'

name String

The name of the error, in this case it is 'AgentInvalidEventHandlerException'

stack String

The stack trace from where this error was instantiated.

AgentTimedOutException

Fired when a call to an Agent library API times out. i.e. A response is not received.

Properties:
Name Type Description
code String

The code of the error, in this case it is 'Agent.TimedOut'

name String

The name of the error, in this case it is 'AgentTimedOutException'

stack String

The stack trace from where this error was instantiated.

AgentUntransferableArgumentException

Fired when an untransferable object is passed to an Agent library function. i.e. a Blob, class etc.

Properties:
Name Type Description
code String

The code of the error, in this case it is 'Agent.UntransferableArgument'

name String

The name of the error, in this case it is 'AgentUntransferableArgumentException'

stack String

The stack trace from where this error was instantiated.

Error

Standard Javascript Error instance

Properties:
Name Type Description
name String

The name of the error, in this case it is 'Error'

stack String

The stack trace from where this error was instantiated.