Sha256: a5ac67d91dba6d60ea4f9a45caf275ded083ce1a5cf0ae751d31878e5df9a0d5
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
module Rescue class NoActionError < ArgumentError def initialize type super "Undefined `#{type}` type. Please specify :show, :edit, :new, :create, :update, or :destory on the :type argument." end end class NoParameterMethodError < NoMethodError def initialize clazz, name super "Undefined method `#{name}` for #{clazz.name}. Please define private method `#{name}` to return the permissible parameters." end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rescue-dog-0.3.9 | lib/rescue/errors.rb |
rescue-dog-0.3.8 | lib/rescue/errors.rb |
rescue-dog-0.3.7 | lib/rescue/errors.rb |
rescue-dog-0.3.5 | lib/rescue/errors.rb |