class_docstr: Generic exception thrown to surface failure information about external-facing operations.
  The error message associated with this exception may be exposed to clients in HTTP responses
  for debugging purposes. If the error text is sensitive, raise a generic `Exception` object
  instead.
class_docstr_tok: ["Generic","exception","thrown","to","surface","failure","information","about","external-facing","operations",".","The","error","message","associated","with","this","exception","may","be","exposed","to","clients","in","HTTP","responses","for","debugging","purposes",".","If","the","error","text","is","sensitive",",","raise","a","generic","`","Exception","`","object","instead","."]
code: def get_http_status_code(self):
      return ERROR_CODE_TO_HTTP_STATUS.get(self.error_code, 500)
  
imports: import json
  from mlflow.protos.databricks_pb2 import ABORTED, ALREADY_EXISTS, BAD_REQUEST, CANCELLED, CUSTOMER_UNAUTHORIZED, DATA_LOSS, DEADLINE_EXCEEDED, ENDPOINT_NOT_FOUND, INTERNAL_ERROR, INVALID_PARAMETER_VALUE, INVALID_STATE, NOT_FOUND, NOT_IMPLEMENTED, PERMISSION_DENIED, REQUEST_LIMIT_EXCEEDED, RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, RESOURCE_DOES_NOT_EXIST, RESOURCE_EXHAUSTED, TEMPORARILY_UNAVAILABLE, UNAUTHENTICATED, ErrorCode
label_desc: Use image node_id 3 for calling the MlflowException obj's underlying member method code with example usage: obj.get_http_status_code() and returns: ERROR_CODE_TO_HTTP_STATUS