lib/amfetamine/exceptions.rb in amfetamine-0.2.5 vs lib/amfetamine/exceptions.rb in amfetamine-0.2.6
- old
+ new
@@ -2,8 +2,9 @@
class InvalidPath < Exception; end; # Only used for paths not having parent ids
class ConfigurationInvalid < Exception;end; # -red
class UnknownRESTMethod < Exception; end; # Only used if rest method is not handled by amfetamine
class RecordNotFound < Exception; end;
class InvalidCacheData < Exception; end;
+ class RemoteConnectionError < Exception; end; # Raised when response handling fails
#class MatcherNotImplemented < Exception; end;
class ExternalConnectionsNotAllowed < Exception; end; # Used for test helpers if connection is not allowed and attempt is made to connect
end