xref #14878
#14878 deprecated the raise_on_error kwarg in favour of the errors kwarg
for DataFrame.astype().
This issue addresses the same deprecation of the raise_on_error kwarg for
DataFrame.where(). Again this should be replaced with the errors kwarg.
The errors kwarg can have the value raise or ignore with a default
value of raise.
This issue can be assigned to me - @m-charlton