Add heat-specific HeatAPINotImplementedError, which
allows us to return a sensible error to requests for
API actions which have not yet been implemented
Change-Id: Ibaee8312e7e563d29801bd325d7638bca9efa622
Signed-off-by: Steven Hardy <shardy@redhat.com>
"signature you provided")
+# Heat-specific errors
+class HeatAPINotImplementedError(HeatAPIException):
+ '''
+ This is the response given when an API action is not yet implemented
+ '''
+ code = 500
+ title = "APINotImplemented"
+ explanation = ("The requested action is not yet implemented")
+ err_type = "Server"
+
+
def map_remote_error(ex):
"""
Map rpc_common.RemoteError exceptions returned by the engine