Add scaffolding for Glue service, including create_database and get_database for the Glue Data Catalog
This commit is contained in:
parent
2e5e7e7f5e
commit
77f0a61c9f
10 changed files with 111 additions and 4 deletions
9
moto/glue/exceptions.py
Normal file
9
moto/glue/exceptions.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
from moto.core.exceptions import RESTError
|
||||
|
||||
|
||||
class GlueClientError(RESTError):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
kwargs.setdefault('template', 'single_error')
|
||||
super(GlueClientError, self).__init__(*args, **kwargs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue