frostfs-node/pkg/local_object_storage/shard
Leonard Lyubich 318639e5bf [#1247] *: Clarify docs about returned errors from `apistatus` package
`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>
2022-03-17 16:34:00 +03:00
..
container.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
control.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
control_test.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
delete.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
delete_test.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
dump.go [#1085] shard: rename `Evacuate` to `Dump` 2022-01-26 15:28:13 +03:00
dump_test.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
errors.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
exists.go [#1247] *: Clarify docs about returned errors from `apistatus` package 2022-03-17 16:34:00 +03:00
gc.go [#1181] local storage: Process expired locks similar to tombstones 2022-03-15 13:03:23 +03:00
get.go [#1247] *: Clarify docs about returned errors from `apistatus` package 2022-03-17 16:34:00 +03:00
get_test.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
head.go [#1247] *: Clarify docs about returned errors from `apistatus` package 2022-03-17 16:34:00 +03:00
head_test.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
id.go [#1204] shard: Save ID in the metabase 2022-03-04 17:13:13 +03:00
info.go [#1118] services/control: return error counter in `ListShards` 2022-02-03 15:14:27 +03:00
inhume.go [#1175] shard: Return status error on Inhume of locked object 2022-03-15 13:03:23 +03:00
inhume_test.go [#1247] object: Return `NOT_FOUND` and `ALREADY_REMOVED` statuses 2022-03-17 16:34:00 +03:00
list.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
list_test.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
lock.go [#1175] Fix typo in error return docs 2022-03-15 13:03:23 +03:00
mode.go [#1094] shard: remove TODO for shard mode description 2022-01-31 12:36:40 +03:00
move.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
put.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
range.go [#1247] *: Clarify docs about returned errors from `apistatus` package 2022-03-17 16:34:00 +03:00
restore.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
select.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
shard.go [#1181] local storage: Process expired locks similar to tombstones 2022-03-15 13:03:23 +03:00
shard_test.go [#1238] Adopt neofs-node for non pointer slices in SDK 2022-03-16 15:29:31 +03:00
shutdown_test.go [#1214] *: Use single `Object` type in whole project 2022-03-04 17:45:00 +03:00
weight.go