Sha256: 2153aef77da60102ea383a43db7b8f387514af5ab9eb9575be3af4952a3928c3

Contents?: true

Size: 179 Bytes

Versions: 6

Compression:

Stored size: 179 Bytes

Contents

class BusinessException < Exception
  def self.raise exception_message
    $!.to_s.to_logger
    $@.to_logger if $@
    Kernel.raise BusinessException, exception_message
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
eric_tools-0.0.7 lib/eric_tools/business_exception.rb
eric_tools-0.0.6 lib/eric_tools/business_exception.rb
eric_tools-0.0.5 lib/eric_tools/business_exception.rb
eric_tools-0.0.4 lib/eric_tools/business_exception.rb
eric_tools-0.0.3 lib/eric_tools/business_exception.rb
eric_tools-0.0.2 lib/eric_tools/business_exception.rb