Sha256: eecbcf370df08cbf049bebd4c8af1bdf99e45c39e88b35435ded3ea6d6c11c06

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

module Veeqo
  module Errors
    class RequestError < StandardError
      def message
        explanation
      end

      def explanation
        "A request to Veeqo API failed"
      end
    end
  end

  Error = Errors::RequestError
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veeqo-0.1.1 lib/veeqo/errors/request_error.rb
veeqo-0.1.0 lib/veeqo/errors/request_error.rb