Static
fromA static factory method to create an AuthError from a fetch Response object. This is a utility that platform adapters can use for consistency.
The fetch Response object.
The parsed body of the response (can be JSON or text).
A new AuthError instance.
Represents a generic authentication or API error from Auth0.
This class provides a structured way to handle errors, with consistent access to status codes, error codes, and response bodies.