Sha256: 46b94c0c92b982ad6baa212718dd266bf05af4b0513a194be84e7ceb1a40bec6
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true module Transproc Error = Class.new(StandardError) FunctionAlreadyRegisteredError = Class.new(Error) class FunctionNotFoundError < Error def initialize(function, source = nil) return super "No registered function #{source}[:#{function}]" if source super "No globally registered function for #{function}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
transproc-1.1.1 | lib/transproc/error.rb |
transproc-1.1.0 | lib/transproc/error.rb |