Sha256: 7672591c580b5a22aaaf1739c7c2beb076768ea14c74be789c91609e63f8abf6
Contents?: true
Size: 339 Bytes
Versions: 3
Compression:
Stored size: 339 Bytes
Contents
class Danica::Exception < ::Exception class NotDefined < self; end class FormattedNotFound < self; end class NotImplemented < self; end class InvalidInput < self attr_reader :value def initialize(value) @value = value super end def message "invalid input class #{value.class}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-2.7.4 | lib/danica/exception.rb |
danica-2.7.3 | lib/danica/exception.rb |
danica-2.7.2 | lib/danica/exception.rb |