Method Create(int, string, ApiErrorResponse?)
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)