Exception: Evervault::Errors::FunctionRuntimeError

Inherits:
FunctionError show all
Defined in:
lib/evervault/errors/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, stack, id) ⇒ FunctionRuntimeError

Returns a new instance of FunctionRuntimeError.



18
19
20
21
22
23
# File 'lib/evervault/errors/errors.rb', line 18

def initialize(message, stack, id)
  @message = message
  @stack = stack
  @id = id
  super(message.to_s)
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



16
17
18
# File 'lib/evervault/errors/errors.rb', line 16

def id
  @id
end

#messageObject (readonly)

Returns the value of attribute message.



16
17
18
# File 'lib/evervault/errors/errors.rb', line 16

def message
  @message
end

#stackObject (readonly)

Returns the value of attribute stack.



16
17
18
# File 'lib/evervault/errors/errors.rb', line 16

def stack
  @stack
end