Skip to content

Conversation

@2ynn
Copy link

@2ynn 2ynn commented Aug 18, 2025

In an upcoming release, all SDK exceptions will inherit from a base exception to ease error handling. Given that the default exception is currently named APIException, this PR aims at improving naming consistency by editing the baseErrorName configuration parameter. Note this configuration change is a no-op for now and will only have effect once the new Error handling feature is released.


Summary by cubic

Rename the future SDK base exception to BaseException in .speakeasy/gen.yaml to keep names consistent and prep for the new error handling. No runtime change yet; it takes effect when the feature ships and APIException remains the default error.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic analysis

No issues found across 1 file. Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant