Sha256: 91efb24a40ba50d03797242f43f081e5bb1e40285c1a8972cbaab8e5427b1096

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

module Enotas
  class EnotasError < StandardError
    attr_reader :http_status, :json_message, :http_message, :message

    def initialize(http_status=nil, json_message=nil, http_message=nil, message=nil)
      @http_status = http_status
      @json_message = json_message
      @http_message = http_message
      @message = message
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enotas-0.1.3 lib/enotas/errors/enotas_error.rb