Sha256: 467a7606fdd5ef399a8255c9c4253ef4896592d687fd8e23b800619c79ec0f25

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

=begin rdoc
  Exception overloads
=end
class Exception
  alias :nice_message :to_s
  # Gives us a nice_message for exceptions
  def nice_message(padding="")
    "#{padding}#{message}\n#{padding}"# + backtrace.join("\n#{padding}")
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
auser-poolparty-1.2.10 lib/poolparty/core/exception.rb
auser-poolparty-1.2.11 lib/poolparty/core/exception.rb
auser-poolparty-1.2.12 lib/poolparty/core/exception.rb
auser-poolparty-1.2.9 lib/poolparty/core/exception.rb
fairchild-poolparty-1.2.12 lib/poolparty/core/exception.rb