APIError constructor
APIError({})
Returns a new APIError instance.
Implementation
APIError({
required this.status,
required this.reason,
required this.code,
this.secondaryCode,
this.bannedUntil,
this.maxCharacterLength,
this.translatedError,
this.customConfig,
});