`IsErr*` functions assert `error` argument corresponds to particular typed error. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>