Class: Transproc::MalformedInputError
Instance Attribute Summary collapse
-
#function ⇒ Object
readonly
Returns the value of attribute function.
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(function, value, error) ⇒ MalformedInputError
constructor
A new instance of MalformedInputError.
Constructor Details
#initialize(function, value, error) ⇒ MalformedInputError
Returns a new instance of MalformedInputError.
7 8 9 10 11 12 |
# File 'lib/transproc/error.rb', line 7 def initialize(function, value, error) @function = function @value = value @original_error = error super("failed to call function #{function} on #{value}, #{error}") end |
Instance Attribute Details
#function ⇒ Object (readonly)
Returns the value of attribute function.
14 15 16 |
# File 'lib/transproc/error.rb', line 14 def function @function end |
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
14 15 16 |
# File 'lib/transproc/error.rb', line 14 def original_error @original_error end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
14 15 16 |
# File 'lib/transproc/error.rb', line 14 def value @value end |