Skip to content

Instantly share code, notes, and snippets.

@kirillshevch
Created June 18, 2020 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirillshevch/08448d9885e244aa34d6a7158b9ada85 to your computer and use it in GitHub Desktop.
Save kirillshevch/08448d9885e244aa34d6a7158b9ada85 to your computer and use it in GitHub Desktop.
module Aws::S3
module Errors
extend Aws::Errors::DynamicErrors
class BucketAlreadyExists < ServiceError
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end
class BucketAlreadyOwnedByYou < ServiceError
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end
class NoSuchBucket < ServiceError
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end
class NoSuchKey < ServiceError
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end
# etc...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment