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

feat: Enhance error handling with type-specific linters and error parsing #210

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

HashCookie
Copy link
Contributor

@HashCookie HashCookie commented Jan 19, 2025

Fix: #174

Resolve

  • Introduced a classification system based on error types (MODEL/POLICY/REQUEST)
  • Added an error parser (parseError) to handle error messages
  • Implemented dedicated linters for different editors
image

Copy link

netlify bot commented Jan 19, 2025

Deploy Preview for casbin-editor ready!

Name Link
🔨 Latest commit 1522e4b
🔍 Latest deploy log https://app.netlify.com/sites/casbin-editor/deploys/678c86eae3013d00082bb6b5
😎 Deploy Preview https://deploy-preview-210--casbin-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hsluoyz hsluoyz merged commit 2fd22b8 into casbin:master Jan 19, 2025
11 checks passed
@hsluoyz
Copy link
Member

hsluoyz commented Jan 19, 2025

🎉 This PR is included in version 1.45.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] the error should show in the Request widget instead of the Model widget
2 participants