Exception: Dentaku::MathDomainError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/dentaku/exceptions.rb

Instance Attribute Summary collapse

Attributes included from Error

#assigned_to

Instance Method Summary collapse

Constructor Details

#initialize(function_name, args) ⇒ MathDomainError

Returns a new instance of MathDomainError.



24
25
26
27
# File 'lib/dentaku/exceptions.rb', line 24

def initialize(function_name, args)
  @function_name = function_name
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



22
23
24
# File 'lib/dentaku/exceptions.rb', line 22

def args
  @args
end

#function_nameObject (readonly)

Returns the value of attribute function_name.



22
23
24
# File 'lib/dentaku/exceptions.rb', line 22

def function_name
  @function_name
end