Skip to content

Standardise and Implement Error Handling in Generated APL Code #7

@Bombardier-C-Kram

Description

@Bombardier-C-Kram

Problem

Currently, the generated APL code lacks a consistent approach to error handling, which can make debugging and maintenance difficult.

Proposal

  • Design and document a standard approach for error handling in all APL code generated by the OpenAPI tool.
  • Ensure that all error scenarios (e.g., invalid input, failed HTTP calls, parsing errors, etc.) are handled gracefully and consistently.
  • Update code generation logic to implement the new error handling pattern throughout.
  • Add comments or documentation within the generated code to make error handling explicit to users.

Acceptance Criteria

  • All generated APL code should follow a standardised error handling structure.
  • Error scenarios are identified with useful messages or codes where appropriate.
  • Examples and user documentation updated to reflect new error handling patterns.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions