Skip to content

SDK Standard Test for capability errors#2138

Draft
ettec wants to merge 4 commits into
mainfrom
sdk-error-tests
Draft

SDK Standard Test for capability errors#2138
ettec wants to merge 4 commits into
mainfrom
sdk-error-tests

Conversation

@ettec

@ettec ettec commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

The standard test defined here is used to check capability error handling, this test is also used in the SDK to ensure that new error codes stay in sync.


// AllErrorCodes lists every defined capability error code in ascending order.
var AllErrorCodes = []ErrorCode{
Canceled,

@ettec ettec Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Todo in a different PR: Should look at generating the error_codes class to ensure all the parts stay in sync

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

✅ API Diff Results - github.com/smartcontractkit/chainlink-common

✅ Compatible Changes (1)

pkg/capabilities/errors (1)
  • AllErrorCodes — ➕ Added

📄 View full apidiff report

@ettec ettec changed the title Sdk error tests SDK Standard Test for capability errors Jun 9, 2026
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.

2 participants