Module: Error
- Defined in:
- lib/error.rb
Class Method Summary collapse
-
.fatal(message) ⇒ Object
Exits without callbacks to at_exit.
- .nonfatal(message) ⇒ Object
Class Method Details
.fatal(message) ⇒ Object
Exits without callbacks to at_exit
19 20 21 22 |
# File 'lib/error.rb', line 19 def self.fatal() warn "can: #{}" exit!(EXIT_FAILURE) end |
.nonfatal(message) ⇒ Object
13 14 15 16 |
# File 'lib/error.rb', line 13 def self.nonfatal() warn "can: #{}" $exit = EXIT_FAILURE end |