class Lce::Client::Errors::LceError
Attributes
details[R]
type[R]
Public Class Methods
new(msg, type, details)
click to toggle source
Calls superclass method
# File lib/lce/client/errors.rb, line 6 def initialize(msg, type, details) super(msg) @type = type @details = details end
Public Instance Methods
to_s()
click to toggle source
Calls superclass method
# File lib/lce/client/errors.rb, line 11 def to_s s = super d = (@details.is_a? Array)? @details.join(' ') : @details s+= "\n#{d}" if d && !d.empty? s end