Custom error class for Peerix-related errors. Extends the built-in Error class and adds a code property.
code
Creates a new PeerixError instance.
An object containing the error details: name, message.
Optional
An error code for categorizing the error.
Readonly
The error message providing details about the error.
The name of the error, typically 'Error' or a specific error type.
Custom error class for Peerix-related errors. Extends the built-in Error class and adds a
codeproperty.