lib/hyperdrive/errors/http_error.rb in hyperdrive-0.0.6 vs lib/hyperdrive/errors/http_error.rb in hyperdrive-0.0.7
- old
+ new
@@ -1,9 +1,13 @@
# encoding: utf-8
module Hyperdrive
module Errors
class HTTPError < RuntimeError
+ def message
+ 'Unknown Error.'
+ end
+
def http_status_code
500
end
end
end