lib/ldp/error.rb in ldp-1.0.0 vs lib/ldp/error.rb in ldp-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Ldp
class Error < StandardError; end
-
+
class HttpError < RuntimeError; end
class BadRequest < HttpError; end # 400
class NotFound < HttpError; end # 404
class Conflict < HttpError; end # 409
class Gone < HttpError; end # 410