What happens? `errorx.Decorate` returns an error with the following properties: * `e.IsOfType(...)` always returns `false` * `e.Type()` returns `synthetic.foreign` I suggest that `errorx.Decorate(nil, "")` should either return nil or panic.
What happens?
errorx.Decoratereturns an error with the following properties:e.IsOfType(...)always returnsfalsee.Type()returnssynthetic.foreignI suggest that
errorx.Decorate(nil, "")should either return nil or panic.