Creates a new instance of the APIError class.
An object containing custom error properties.
Optional description?: stringOptional hoprdOptional error?: stringOptional descriptionDescriton of the error
Optional hoprdError Object
Optional error?: stringOptional stackThe status code associated with the error
The status message associated with the error.
Static Optional prepareOptional override for formatting stack traces
Static stackStatic capture
Represents an HOPR SDK API error.