presto-main/src/main/java/io/prestosql/operator/scalar/FailureFunction.java/FailureFunction/fail
class FailureFunction:    @Description("Throws an exception with a given message")
    @ScalarFunction(value = "fail", hidden = true)
    @SqlType("unknown")
    public static boolean fail(@SqlType(StandardTypes.VARCHAR) Slice message)
    {
        throw new PrestoException(StandardErrorCode.GENERIC_USER_ERROR, message.toStringUtf8());
    }