Sha256: 2b75da0c2eeb291d11db7d0cc90047600922bcc30bef914bdc8c4c2277687a7e
Contents?: true
Size: 676 Bytes
Versions: 5
Compression:
Stored size: 676 Bytes
Contents
class Exception { """ Base Exception class. All Exception classes inherit from @Exception@. """ forwards_unary_ruby_methods } class StandardError { """ StandardError. Base class of most Exception classes. """ forwards_unary_ruby_methods def initialize { "Creates a new Exception with an empty message." initialize() } def initialize: msg { """ @msg Message (@String@) for the Exception. Creates a new Exception with a given message. """ initialize(msg) } def raise! { """ Raises (throws) an Exception to be caught somewhere up the callstack. """ raise(self) } } StdError = StandardError
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | lib/rbx/exception.fy |
fancy-0.9.0 | lib/rbx/exception.fy |
fancy-0.8.0 | lib/rbx/exception.fy |
fancy-0.7.0 | lib/rbx/exception.fy |
fancy-0.6.0 | lib/rbx/exception.fy |