Sha256: a26b2a4776aebba4dad075abd4e7797dbdfd133a766fa5ff6fe438fd389d30d5

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

module Arrest
  module Errors

    class UnknownError  < StandardError
      def initialize(err_obj)
        super(err_obj)
      end
    end


    class DocumentNotFoundError  < StandardError
    end

    class SpecifiedDocumentNotFoundError < DocumentNotFoundError
      attr_reader :id, :class_type

      def initialize(id = nil, class_type = nil)
        @id = id
        @class_type = class_type
      end
    end

    class PermissionDeniedError < StandardError
      def initialize(err_obj)
        super(err_obj)
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arrest-0.0.91 lib/arrest/exceptions.rb
arrest-0.0.90 lib/arrest/exceptions.rb
arrest-0.0.89 lib/arrest/exceptions.rb
arrest-0.0.88 lib/arrest/exceptions.rb