lib/routemaster/errors.rb in routemaster-drain-3.4.0 vs lib/routemaster/errors.rb in routemaster-drain-3.5.0

- old
+ new

@@ -43,9 +43,15 @@ def message "Resource Not Found Error" end end + class ResourceGone < BaseError + def message + "Resource Gone: #{env.url}" + end + end + class FatalResource < BaseError def message "Fatal Resource Error. body: #{body}, url: #{env.url}, method: #{env.method}" end end