Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export the ErrorCode enum in the type declaration file #937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nschirmer
Copy link

Description

Exported the ErrorCode enum so that consumers can match specific errors against Snowflake.ErrorCode.ERR_CONN_CONNECT_STATUS_CONNECTING for example.

Checklist

  • Format code according to the existing code style (run npm run lint:check -- CHANGED_FILES and fix problems in changed code)
  • Create tests which fail without the change (if possible)
  • Make all tests (unit and integration) pass (npm run test:unit and npm run test:integration)
  • Extend the README / documentation and ensure is properly displayed (if necessary)
  • Provide JIRA issue id (if possible) or GitHub issue id in commit message

Export the ErrorCode enum
@nschirmer nschirmer requested a review from a team as a code owner October 21, 2024 14:43
Copy link

github-actions bot commented Oct 21, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@nschirmer
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

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