Sha256: 19d876e679fd72a7c2b6d1b64b29af7c17b6e489055a009c186281716f14915a
Contents?: true
Size: 266 Bytes
Versions: 3
Compression:
Stored size: 266 Bytes
Contents
module Rentjuicer class Error < Exception attr_reader :code, :error def initialize(code, error) @code = code @error = error super(message) end def message "Rentjuicer Error: #{@error} (code: #{@code})" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rentjuicer-0.10.1 | lib/rentjuicer/error.rb |
rentjuicer-0.10.0 | lib/rentjuicer/error.rb |
rentjuicer-0.9.0 | lib/rentjuicer/error.rb |