/tools/Ruby/lib/ruby/gems/1.8/gems/configatron-2.8.2/lib/configatron/errors.rb
http://github.com/agross/netopenspace · Ruby · 13 lines · 12 code · 1 blank · 0 comment · 0 complexity · 3752a06384ec3b9c26eeee7b5d25d245 MD5 · raw file
- class Configatron
- class ProtectedParameter < StandardError
- def intialize(name)
- super("Can not modify protected parameter: '#{name}'")
- end
- end
- class LockedNamespace < StandardError
- def initialize(name)
- super("Cannot add new parameters to locked namespace: #{name.inspect}")
- end
- end
- end