Current error is a `dyn Box`, which means it's impossible to expect what kind of error will be emitted. Let's limit with some Enum error type.