Sha256: 60a2da4fa29b49b33a4abe0e5f91e91f0b4e610cb023034a4864ef7712df35ac

Contents?: true

Size: 1.11 KB

Versions: 12

Compression:

Stored size: 1.11 KB

Contents

# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


require "google/cloud/errors"

module Google
  module Cloud
    module Datastore
      ##
      # # KeyError
      #
      # Raised when a key is not correct.
      class KeyError < Google::Cloud::Error
      end

      ##
      # # PropertyError
      #
      # Raised when a property is not correct.
      class PropertyError < Google::Cloud::Error
      end

      ##
      # # TransactionError
      #
      # General error for Transaction problems.
      class TransactionError < Google::Cloud::Error
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
google-cloud-datastore-1.2.1 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-1.2.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-1.1.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-1.0.1 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-1.0.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.24.2 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.24.1 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.24.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.23.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.21.0 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.20.1 lib/google/cloud/datastore/errors.rb
google-cloud-datastore-0.20.0 lib/google/cloud/datastore/errors.rb