module Racket::Utils::Exceptions

Utility functions for filesystem.

Public Instance Methods

run_block(*errors, &block) click to toggle source

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.

@param [Array] errors @return [true|flase]

# File lib/racket/utils/exceptions.rb, line 63
def run_block(*errors, &block)
  ExceptionHandler.run_block(errors, &block)
end