

def __init__(self, detail=None, parameter=None, value=None):
    if (value and (not detail)):
        detail = "Value '{}' is not a filterable field.".format(value)
    super(InvalidFilterFieldError, value).__init__(detail=detail, parameter=parameter)

dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/exceptions.py InvalidFilterFieldError.__init__/VarMisuse@48/69 `self`->`value`