Home Manual Reference Source Repository
public class | source

StructuredError

Extends:

Error → StructuredError

Static Method Summary

Static Public Methods
public static

resolveMessage(messageOrMessagesOrError: *): *

Verifies the first constructor parameter and Resolves an error message from it for the Error constructor.

Constructor Summary

Public Constructor
public

constructor(messageOrMessagesOrError: *, innerError: *)

Member Summary

Public Members
public

Static Public Methods

public static resolveMessage(messageOrMessagesOrError: *): * source

Verifies the first constructor parameter and Resolves an error message from it for the Error constructor.

Params:

NameTypeAttributeDescription
messageOrMessagesOrError *
  • optional
  • default: undefined

Return:

*

Public Constructors

public constructor(messageOrMessagesOrError: *, innerError: *) source

Params:

NameTypeAttributeDescription
messageOrMessagesOrError *
  • optional
  • default: undefined
innerError *
  • optional
  • default: undefined

TODO:

  • ensure meaningful {@link NotificationMessage}.

Public Members

public innerError: * source