Class ApiException

Assembly: redb.Identity.Client.dll

Thrown by Identity client methods when the server returns a non-success HTTP status.
Carries the status code, parsed RFC 7807 problem details (when available) and the raw body.

public sealed class ApiException : Exception, ISerializable

Inheritance

Object→Exception→ApiException

Implements

Properties

ProblemDetails

public ProblemDetails? ProblemDetails { get; }

RawBody

public string? RawBody { get; }

StatusCode

public HttpStatusCode StatusCode { get; }

Constructors