lib/npr/errors.rb in npr-0.1.2 vs lib/npr/errors.rb in npr-1.1.0
- old
+ new
@@ -2,16 +2,16 @@
# Errors
#
module NPR
class ClientError < StandardError
end
-
- #-------------------
-
+
class ServerError < StandardError
end
-
- #-------------------
-
+
+
+ class APIError < ServerError
+ end
+
class NotConfiguredError < ClientError
end
end # NPR