@Override
    public Attribute.Type getReturnType() {
        return returnType;
    }
Return type of the custom function mentioned

@return return type
modules/siddhi-core/src/test/java/io/siddhi/core/stream/FaultFunctionExtension.java