Class Limelight::LimelightException
In: lib/limelight/limelight_exception.rb
Parent: Exception

Most exeception thrown by Limelight Ruby code will be of this type.

Methods

new  

Public Class methods

[Source]

    # File lib/limelight/limelight_exception.rb, line 10
10:     def initialize(thing)
11:       case thing
12:       when String
13:         super(thing)
14:       when Exception
15:         super("#{thing.class}: #{thing.message}")
16:         set_backtrace(thing.backtrace)
17:       else
18:         raise "Can't build LimelightException out of #{thing}"
19:       end
20:     end

[Validate]