`apistatus` package provides types which implement build-in `error` interface. Add `error of type` pattern when documenting these errors in order to clarify how these errors should be handled (e.g. `errors.Is` is not good). Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
containers.go | ||
containers_test.go | ||
control.go | ||
control_test.go | ||
db.go | ||
db_test.go | ||
delete.go | ||
delete_test.go | ||
errors.go | ||
exists.go | ||
exists_test.go | ||
get.go | ||
get_test.go | ||
graveyard.go | ||
graveyard_test.go | ||
info.go | ||
inhume.go | ||
inhume_test.go | ||
iterators.go | ||
iterators_test.go | ||
list.go | ||
list_test.go | ||
lock.go | ||
lock_test.go | ||
movable.go | ||
movable_test.go | ||
put.go | ||
put_test.go | ||
select.go | ||
select_test.go | ||
shard_id.go | ||
small.go | ||
small_test.go | ||
util.go |