lib/wcc/contentful/exceptions.rb in wcc-contentful-1.3.2 vs lib/wcc/contentful/exceptions.rb in wcc-contentful-1.4.0.rc1
- old
+ new
@@ -34,6 +34,11 @@
class ResolveError < StandardError
end
class InitializationError < StandardError
end
+
+ # Raised by {WCC::Contentful::Middleware::Store::LocaleMiddleware} when the
+ # backing store loads an entry for the wrong locale.
+ class LocaleMismatchError < StandardError
+ end
end