presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/RaptorErrorCode.java/RaptorErrorCode/toErrorCode
class RaptorErrorCode:    @Override
    public ErrorCode toErrorCode()
    {
        return errorCode;
    }