Exception: Samlr::SamlrError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/samlr/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SamlrError

Returns a new instance of SamlrError.



5
6
7
8
# File 'lib/samlr/errors.rb', line 5

def initialize(*args)
  super(args.shift)
  @details = args.shift unless args.empty?
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



3
4
5
# File 'lib/samlr/errors.rb', line 3

def details
  @details
end