Sha256: f4294261fbf96fcc5403d3df909c9d98e8744621b2286c0cef42182f3e294fe8

Contents?: true

Size: 206 Bytes

Versions: 33

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal  = true

class Ree::Error < StandardError
  attr_reader :code, :type

  def initialize(message, code = nil, type = nil)
    super(message)
    @type = type
    @code = code
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
ree-1.0.12 lib/ree/error.rb
ree-1.0.11 lib/ree/error.rb
ree-1.0.10 lib/ree/error.rb
ree-1.0.9 lib/ree/error.rb
ree-1.0.8 lib/ree/error.rb
ree-1.0.7 lib/ree/error.rb
ree-1.0.6 lib/ree/error.rb
ree-1.0.5 lib/ree/error.rb
ree-1.0.4 lib/ree/error.rb
ree-1.0.3 lib/ree/error.rb
ree-1.0.2 lib/ree/error.rb
ree-1.0.1 lib/ree/error.rb
ree-1.0.0 lib/ree/error.rb