Class: ReadOnlyParameterError

ReadOnlyParameterError(parameterName, optionsopt)

Read-only parameter modification error

Constructor

new ReadOnlyParameterError(parameterName, optionsopt)

Parameters:
Name Type Attributes Description
parameterName string Name of the parameter
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