Class ApiError
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Structured error information extracted from a failed Management API response body. Only the well-known, non-sensitive error fields returned by the API are surfaced.
public sealed class ApiError
- Inheritance
-
ApiError
- Inherited Members
- Extension Methods
Properties
Error
The short error identifier returned by the API (the error field), e.g. "Bad Request".
public string? Error { get; init; }
Property Value
ErrorCode
The machine-readable error code returned by the API (the errorCode field), if present.
public string? ErrorCode { get; init; }
Property Value
Message
The human-readable error description returned by the API. Populated from the first available
of message, error_description, description, or error.
public string? Message { get; init; }