| Age | Commit message (Collapse) | Author |
|
|
|
fixes #6
Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
|
|
Full command: golangci-lint run --disable-all -E godot --fix
|
|
Errors and test files still need to be done. Also some getters are
changed by removing the 'get' prefix
|
|
|
|
- All wrapped errors have to be created with types.NewWrappedError to
inherit the error level from the parent
- Or types.NewWrappedErrorLevel can be used which means a custom error
level is given. For example this is done with cancelling OAuth
- Client public errors are forwarded with handleError that also logs
it with the error's level
|
|
|
|
|
|
|
|
- For this an `internal/types` package is created with a custom error type
- This custom error type can give back the cause and traceback of an error
|
|
|