class Functio::FunctioError

Base exception class for Functio errors.

Attributes

original[R]

Original exception.

Public Class Methods

new(message = nil, original = $ERROR_INFO) click to toggle source

Constructs a new FunctioError instance passing in a message and optionally the original exception which caused this.

Calls superclass method
# File lib/functio/errors.rb, line 28
def initialize(message = nil, original = $ERROR_INFO)
  super(message)
  @original = original
end