Constructor
new RclNodeError(message, optionsopt)
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
message |
string | Human-readable error message | |||||||||||||||||||||||||||||
options |
object |
<optional> |
Additional error context
Properties
|
- Source:
Methods
toJSON() → {object}
Returns a detailed error object for logging/serialization
- Source:
Returns:
Structured error information
- Type
- object
toString() → {string}
Returns a user-friendly error description
- Source:
Returns:
Formatted error string
- Type
- string