lib/loopiator/errors.rb in loopiator-0.1.0 vs lib/loopiator/errors.rb in loopiator-0.2.0
- old
+ new
@@ -28,6 +28,12 @@
class ConnectionError < ApiError
def message
"An unknown connection error occurred while trying to connect to the API."
end
end
-end
+
+ class DomainOccupiedError < ApiError
+ def message
+ "The domain is occupied."
+ end
+ end
+end
\ No newline at end of file