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.32 lib/ree/error.rb
ree-1.0.31 lib/ree/error.rb
ree-1.0.30 lib/ree/error.rb
ree-1.0.29 lib/ree/error.rb
ree-1.0.28 lib/ree/error.rb
ree-1.0.27 lib/ree/error.rb
ree-1.0.26 lib/ree/error.rb
ree-1.0.25 lib/ree/error.rb
ree-1.0.24 lib/ree/error.rb
ree-1.0.23 lib/ree/error.rb
ree-1.0.22 lib/ree/error.rb
ree-1.0.21 lib/ree/error.rb
ree-1.0.20 lib/ree/error.rb
ree-1.0.19 lib/ree/error.rb
ree-1.0.18 lib/ree/error.rb
ree-1.0.17 lib/ree/error.rb
ree-1.0.16 lib/ree/error.rb
ree-1.0.15 lib/ree/error.rb
ree-1.0.14 lib/ree/error.rb
ree-1.0.13 lib/ree/error.rb