Repository navigation
v2.2.18
·
2 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
API Client Enhancements
Added structured error handling for HTTP 403 (Forbidden) responses when retrieving invoice settings details. This update improves API diagnostics by explicitly catching and mapping 403 status codes to a dedicated response class, ensuring proper validation, deserialization, and client-side error handling for forbidden access scenarios.
- Introduced
InvoiceGetDetailOfInvoiceSettingsForbiddenResponseto wrap 403 API responses with standardized schema validation and JSON serialization. - Updated
ContractClientImplto explicitly route HTTP 403 status codes to the new forbidden response handler instead of falling back to a default response. - Added required class imports and match-case statements in the contract client implementation to support the new error type.