# 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::Glue module Errors extend Aws::Errors::DynamicErrors class AccessDeniedException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::AccessDeniedException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class AlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::AlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ConcurrentModificationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::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 ConcurrentRunsExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::ConcurrentRunsExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ConditionCheckFailureException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::ConditionCheckFailureException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class CrawlerNotRunningException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::CrawlerNotRunningException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class CrawlerRunningException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::CrawlerRunningException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class CrawlerStoppingException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::CrawlerStoppingException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class EntityNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::EntityNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class GlueEncryptionException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::GlueEncryptionException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class IdempotentParameterMismatchException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::IdempotentParameterMismatchException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InternalServiceException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::InternalServiceException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InvalidInputException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::InvalidInputException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class NoScheduleException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::NoScheduleException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class OperationTimeoutException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::OperationTimeoutException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ResourceNumberLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::ResourceNumberLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class SchedulerNotRunningException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::SchedulerNotRunningException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class SchedulerRunningException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::SchedulerRunningException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class SchedulerTransitioningException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::SchedulerTransitioningException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ValidationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::ValidationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class VersionMismatchException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::VersionMismatchException] 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