Sha256: 8f127ebf4da6bddf8a31562051639274733ed63feaf29f6a63baa518fc0486ea
Contents?: true
Size: 609 Bytes
Versions: 10
Compression:
Stored size: 609 Bytes
Contents
module Hoth class HothException < StandardError attr_reader :original def self.wrap(original) wrapped = new("#{original.class} says: #{original.message}") wrapped.set_backtrace original.backtrace wrapped.instance_variable_set :@original, original wrapped end end class TransportError < HothException; end class TransportException < HothException; end class EncodingError < HothException; end class EmptyServiceNameError < HothException; end class ServiceNotFoundException < HothException; end class RecursiveServiceCallException < HothException; end end
Version data entries
10 entries across 10 versions & 1 rubygems