mlmd.errors.make_exception

Makes an exception with the MLMD error code.

message Error message.
error_code MLMD error code.

An exception.