- Inheritance
Classes & Modules
Constants
Name | Description | |
---|---|---|
E2MM | = Exception2MessageMapper |
Aliases
Method | Alias | Description |
---|---|---|
e2mm_message | → message | |
fail | → fail! | backward compatibility |
Methods
Instance
Visibility | Signature |
---|---|
public | Fail (err = nil, *rest) |
public | Raise (err = nil, *rest) |
public | bind (cl) |
public | def_e2message (c, m) |
public | def_exception (n, m, s = StandardError) |
public | fail (err = nil, *rest) |
Instance Method Detail
Fail(err = nil, *rest)
Alias for Raise
Raise(err = nil, *rest)
Fail(err, *rest)
err: exception rest: message arguments
bind(cl)
def_e2message(c, m)
def_e2message(c, m)
c: exception m: message_form define exception c with message m.
def_exception(n, m, s = StandardError)
def_exception(n, m, s)
n: exception_name m: message_form s: superclass(default: StandardError) define exception named ``c'' with message m.