Sha256: b8927af8e19ffa625ccfe1fea338ae9ba1bdb46fef91dca5382aa33a846709e0
Contents?: true
Size: 526 Bytes
Versions: 3
Compression:
Stored size: 526 Bytes
Contents
module Guilded module Exceptions class GuildedException < RuntimeError def initialize( msg="" ) #:nodoc: @msg = msg end end class IdMissing < GuildedException def initialize #:nodoc: @msg = ":id for element must be present in the options hash" end end class DuplicateElementId < GuildedException def initialize( id='' ) #:nodoc: @msg = ":id #{id} for element is already in use on current page" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
midas-guilded-0.0.1 | lib/guilded/exceptions.rb |
midas-guilded-0.0.2 | lib/guilded/exceptions.rb |
midas-guilded-0.0.3 | lib/guilded/exceptions.rb |