Sha256: 7508d0ff12839f288940eef18a67f3be6467be6e314a9d2fdeda0b69a8e6131f
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
module Transproc Error = Class.new(StandardError) FunctionNotFoundError = Class.new(Error) FunctionAlreadyRegisteredError = Class.new(Error) class MalformedInputError < Error def initialize(function, value, error) @function = function @value = value @original_error = error super("failed to call function #{function} on #{value}, #{error}") end attr_reader :function, :value, :original_error end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
transproc-0.2.3 | lib/transproc/error.rb |
transproc-0.2.2 | lib/transproc/error.rb |
transproc-0.2.1 | lib/transproc/error.rb |