Sha256: 1af48e8f71e9c73888e70d05749400b1b6afbc367f1273a605e6c510d0d45584

Contents?: true

Size: 188 Bytes

Versions: 25

Compression:

Stored size: 188 Bytes

Contents

module MxitRails
  class Exception < Exception
    attr_reader :message
    attr_reader :code
    def initialize message, code
      @message = message
      @code = code
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mxit-rails-0.4.3 lib/mxit_rails/exception.rb
mxit-rails-0.4.2 lib/mxit_rails/exception.rb
mxit-rails-0.4.1 lib/mxit_rails/exception.rb
mxit-rails-0.4.0 lib/mxit_rails/exception.rb
mxit-rails-0.3.4 lib/mxit_rails/exception.rb
mxit-rails-0.3.3 lib/mxit_rails/exception.rb
mxit-rails-0.3.2 lib/mxit_rails/exception.rb
mxit-rails-0.3.1 lib/mxit_rails/exception.rb
mxit-rails-0.3.0 lib/mxit_rails/exception.rb
mxit-rails-0.2.9 lib/mxit_rails/exception.rb
mxit-rails-0.2.8 lib/mxit_rails/exception.rb
mxit-rails-0.2.7 lib/mxit_rails/exception.rb
mxit-rails-0.2.6 lib/mxit_rails/exception.rb
mxit-rails-0.2.5 lib/mxit_rails/exception.rb
mxit-rails-0.2.4 lib/mxit_rails/exception.rb
mxit-rails-0.2.3 lib/mxit_rails/exception.rb
mxit-rails-0.2.2 lib/mxit_rails/exception.rb
mxit-rails-0.2.1 lib/mxit_rails/exception.rb
mxit-rails-0.2.0 lib/mxit_rails/exception.rb
mxit-rails-0.1.4 lib/mxit_rails/exception.rb