presto-record-decoder/src/main/java/io/prestosql/decoder/DecoderErrorCode.java/DecoderErrorCode/toErrorCode
class DecoderErrorCode:    @Override
    public ErrorCode toErrorCode()
    {
        return errorCode;
    }