Represents an error encountered during protocol operations.
This class extends the built-in Error class, providing a specific
error type called ProtocolError.
Param: message
A descriptive message describing the error.
Param: options
Optional parameters to include additional details.
Represents an error encountered during protocol operations. This class extends the built-in
Error
class, providing a specific error type calledProtocolError
.Param: options
Optional parameters to include additional details.