mirror of
https://github.com/absmach/magistrala.git
synced 2026-08-07 23:32:14 +00:00
8b2ae46324
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
6 lines
373 B
Markdown
6 lines
373 B
Markdown
# Errors
|
|
|
|
`errors` package serve to build an arbitrary long error chain in order to capture errors returned from nested service calls.
|
|
|
|
`errors` package contains the custom Go `error` interface implementation, `Error`. You use the `Error` interface to **wrap** two errors in a containing error as well as to test recursively if a given error **contains** some other error.
|