Id sets id to check equality in XError.Is
(id string)
| 145 | |
| 146 | // Id sets id to check equality in XError.Is |
| 147 | func (e *XError) Id(id string) *XError { |
| 148 | e.id = id |
| 149 | return e |
| 150 | } |
| 151 | |
| 152 | // Values returns map of key and value that is set by With. All wrapped xerror.XError key and values will be merged. |
| 153 | // Key and values of wrapped error is overwritten by upper xerror.XError. |
no outgoing calls