20 lines
521 B
Python
20 lines
521 B
Python
from __future__ import unicode_literals
|
|
from moto.core.exceptions import RESTError
|
|
|
|
|
|
class StageNotFoundException(RESTError):
|
|
code = 404
|
|
|
|
def __init__(self):
|
|
super(StageNotFoundException, self).__init__(
|
|
"NotFoundException", "Invalid stage identifier specified"
|
|
)
|
|
|
|
|
|
class ApiKeyNotFoundException(RESTError):
|
|
code = 404
|
|
|
|
def __init__(self):
|
|
super(ApiKeyNotFoundException, self).__init__(
|
|
"NotFoundException", "Invalid API Key identifier specified"
|
|
)
|