Sha256: 252894c839133db18dad6a53b9e945a71d64839363175133254e220e462bda69

Contents?: true

Size: 438 Bytes

Versions: 7

Compression:

Stored size: 438 Bytes

Contents

module Arrest
  module Errors

    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

7 entries across 7 versions & 1 rubygems

Version Path
arrest-0.0.87 lib/arrest/exceptions.rb
arrest-0.0.86 lib/arrest/exceptions.rb
arrest-0.0.85 lib/arrest/exceptions.rb
arrest-0.0.84 lib/arrest/exceptions.rb
arrest-0.0.83.crud lib/arrest/exceptions.rb
arrest-0.0.83.1 lib/arrest/exceptions.rb
arrest-0.0.83 lib/arrest/exceptions.rb