# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::WorkDocs module Errors extend Aws::Errors::DynamicErrors class ConcurrentModificationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::ConcurrentModificationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ConflictingOperationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::ConflictingOperationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class CustomMetadataLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::CustomMetadataLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class DeactivatingLastSystemUserException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::DeactivatingLastSystemUserException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class DocumentLockedForCommentsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::DocumentLockedForCommentsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class DraftUploadOutOfSyncException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::DraftUploadOutOfSyncException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class EntityAlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::EntityAlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class EntityNotExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::EntityNotExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end # @return [String] def entity_ids @data[:entity_ids] end end class FailedDependencyException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::FailedDependencyException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class IllegalUserStateException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::IllegalUserStateException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InvalidArgumentException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::InvalidArgumentException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InvalidCommentOperationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::InvalidCommentOperationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InvalidOperationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::InvalidOperationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InvalidPasswordException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::InvalidPasswordException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class LimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::LimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ProhibitedStateException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::ProhibitedStateException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class RequestedEntityTooLargeException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::RequestedEntityTooLargeException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ResourceAlreadyCheckedOutException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::ResourceAlreadyCheckedOutException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ServiceUnavailableException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::ServiceUnavailableException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class StorageLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::StorageLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class StorageLimitWillExceedException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::StorageLimitWillExceedException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class TooManyLabelsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::TooManyLabelsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class TooManySubscriptionsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::TooManySubscriptionsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class UnauthorizedOperationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::UnauthorizedOperationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class UnauthorizedResourceAccessException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::WorkDocs::Types::UnauthorizedResourceAccessException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end end end