Method Create(int, string, ApiErrorResponse?)

Assembly: redb.Tsak.Client.dll

Creates a typed subclass matching the HTTP status code.
Falls back to the base for status codes without a dedicated type.

public static ApiException Create(int statusCode, string message, ApiErrorResponse? errorResponse = null)