lib/jsonapionify/api/errors.rb in jsonapionify-0.0.1.pre vs lib/jsonapionify/api/errors.rb in jsonapionify-0.9.0
- old
+ new
@@ -1,6 +1,11 @@
module JSONAPIonify::Api
module Errors
- ResourceNotFound = Class.new StandardError
- RelationshipNotFound = Class.new StandardError
+ JSONAPIonifyError = Class.new StandardError
+ ResourceNotFound = Class.new JSONAPIonifyError
+ RelationshipNotFound = Class.new JSONAPIonifyError
+ RequestError = Class.new JSONAPIonifyError
+ CacheHit = Class.new JSONAPIonifyError
+ DoubleCacheError = Class.new JSONAPIonifyError
+ InvalidCursor = Class.new JSONAPIonifyError
end
end