Sha256: 19a33607cfe0b6ada8c662d823cc3e156b9a267813407cb4269af535e1ce3d2b
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
module WebClient class Error < StandardError def initialize(inner_error) @inner_error = inner_error end def type @inner_error.class end def message "#{type}: #{@inner_error.message}" end def to_s message end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
web_client-0.0.5 | lib/web_client/error.rb |