Sha256: c3601b653f5d1458321e5a77fdd25e095db68f6ce68f6635e0f73676260a0521

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

module Acfs

  # Acfs base error.
  #
  class Error < StandardError
  end

  # Response error containing the responsible response object.
  #
  class ErroneousResponse < Error
    attr_accessor :response

    def initialize(response)
      self.response = response
    end
  end

  # Resource not found error raised on a 404 response
  #
  class ResourceNotFound < ErroneousResponse
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acfs-0.11.0 lib/acfs/errors.rb