Module: Racket::Utils::Exceptions
- Included in:
- ToolBelt
- Defined in:
- lib/racket/utils/exceptions.rb
Overview
Utility functions for filesystem.
Defined Under Namespace
Classes: ExceptionHandler
Instance Method Summary collapse
-
#run_block(*errors, &block) ⇒ true|flase
Runs a block.
Instance Method Details
#run_block(*errors, &block) ⇒ true|flase
Runs a block. If no exceptions are raised, this method returns true. If any of the provided error types are raised, this method returns false. If any other exception is raised, this method will just forward the exception.
63 64 65 |
# File 'lib/racket/utils/exceptions.rb', line 63 def run_block(*errors, &block) ExceptionHandler.run_block(errors, &block) end |