code: def test_error_code_constructor():
      assert (
          MlflowException(
              "test", error_code=INVALID_PARAMETER_VALUE
          ).error_code
          == "INVALID_PARAMETER_VALUE"
      )
  
file_path: mlflow/tests/test_exceptions.py
imports: import json
  from mlflow.exceptions import MlflowException, RestException
  from mlflow.protos.databricks_pb2 import ENDPOINT_NOT_FOUND, INTERNAL_ERROR, INVALID_PARAMETER_VALUE, INVALID_STATE, IO_ERROR, RESOURCE_ALREADY_EXISTS
label_desc: Use image node_id 1 for calling a global function with example usage: test_error_code_constructor() without return types