Sha256: 20a2dd7e9a7e3dc9261cd28d07f626885d14c700c7bc7a7e4e3d1982c7d0ac22

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module WAEasyAPI
  # Default Error class for any unknown errors
  class Error < StandardError
    attr_reader :code, :status

    def initialize(code = nil, status = nil)
      @code = code
      @status = status
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waeasyapi-1.0.0 lib/waeasyapi/errors/waeasyapi_error.rb