Sha256: cb3dd008c146be9b6693fdc55f167e234febd2f044b10a3468c545f35919f3a0
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
class 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.5.0 | lib/rbx/exception.fy |
fancy-0.4.0 | lib/rbx/exception.fy |