Sha256: 602d338484bd6ffbca178b4fc18caec8bc146dc9189833674ebd40762878a12f
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
module Eucalypt class NotWhitelistedError < Exception def initialize(ip) super "IP address #{ip} not whitelisted" end end class InvalidSettingTypeError < Exception def initialize(setting, actual, classes) super "!\nInvalid type for setting :#{setting}, got:\n\t#{actual},\nmust be one of:\n\t#{classes}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eucalypt-0.5.1 | lib/eucalypt/exceptions.rb |
eucalypt-0.5.0 | lib/eucalypt/exceptions.rb |