Skip to content

v2.2.18

Choose a tag to compare

@mittwald-machine mittwald-machine released this 23 Oct 19:19
· 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 InvoiceGetDetailOfInvoiceSettingsForbiddenResponse to wrap 403 API responses with standardized schema validation and JSON serialization.
  • Updated ContractClientImpl to 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.