You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to have custom error responses being delivered, just create your own `Api::Errors` that inherits from `JsonapiErrorsHandler::StandardError`
81
82
@@ -100,8 +101,8 @@ If you want to localize your responses, just create a class:
100
101
101
102
## Guides & tutorials
102
103
103
-
-[Handling Exceptions in Rails Applications](https://driggl.com/blog/a/handling-exceptions-in-rails-applications) - Gem's concept explained in details
@@ -111,17 +112,17 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
111
112
112
113
## Contributing
113
114
114
-
Bug reports and pull requests are welcome on GitHub at https://github.com/driggl/jsonapi_errors_handler.
115
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/driggl/jsonapi_errors_handler](https://github.com/driggl/jsonapi_errors_handler).
115
116
116
117
**How to contribute:**
117
118
118
-
1. Fork repository
119
-
2. Install [Rubocop](https://github.com/rubocop-hq/rubocop) - make sure you run it before commiting changes
120
-
2. Commit changes
121
-
- Keep commits small and atomic
122
-
- Start commit message from keywords (Add/Remove/Change/Refactor/Move/Rename/Upgrade/Downgrade)
123
-
- Keep commits imperative style
124
-
3. Create Pull Request
119
+
1.Fork repository
120
+
2.Install [Rubocop](https://github.com/rubocop-hq/rubocop) - make sure you run it before commiting changes
121
+
3. Commit changes
122
+
* Keep commits small and atomic
123
+
* Start commit message from keywords (Add/Remove/Change/Refactor/Move/Rename/Upgrade/Downgrade)
0 commit comments