Class: GoalRejectedError

GoalRejectedError(actionName, goalId, optionsopt)

Goal rejected by action server

Constructor

new GoalRejectedError(actionName, goalId, optionsopt)

Parameters:
Name Type Attributes Description
actionName string Name of the action
goalId string ID of the rejected goal
options object <optional>
Additional options
Source:

Extends

Methods

toJSON() → {object}

Returns a detailed error object for logging/serialization
Overrides:
Source:
Returns:
Structured error information
Type
object

toString() → {string}

Returns a user-friendly error description
Overrides:
Source:
Returns:
Formatted error string
Type
string