You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`.Span(string)`|`err.Span() string`| Add a span representing a unit of work or operation... (default: ULID) |
203
203
|`.Hint(string)`|`err.Hint() string`| Set a hint for faster debugging |
204
-
|`.Owner(string)`|`err.Owner() (string)`| Set the name/email of the colleague/team responsible for handling this error. Useful for alerting purpose |
205
-
|`.User(string, any...)`|`err.User() (string, map[string]any)`| Supply user id and a chain of key/value |
206
-
|`.Tenant(string, any...)`|`err.Tenant() (string, map[string]any)`| Supply tenant id and a chain of key/value |
204
+
|`.Owner(string)`|`err.Owner() (string)`| Set the name/email of the colleague/team responsible for handling this error. Useful for alerting purpose |
205
+
|`.User(string, any...)`|`err.User() (string, any...)`| Supply user id with optional attributes (string key/value pairs, `map[string]any`, and `slog.Attr`)|
206
+
|`.Tenant(string, any...)`|`err.Tenant() (string, any...)`| Supply tenant id with optional attributes (string key/value pairs, `map[string]any`, and `slog.Attr`)|
0 commit comments