ErrorName now an independent type
Although its identitical to InterfaceName, using a type alias means:
- The debug impl shows InterfaceName, making it harder to read the debug output.
- User gets Error::InvalidInterfaceName error instead of Error::InvalidErrorName.
Strictly speaking, this is an API break but:
- It's doubtful this will break any code out there. If someone has been using these types interchangably, this breakage would be a good nudge for them to not do that anymore.
- Given the benefits I mentioned above, I don't feel bad about such minor breakage in the same major release.
Edited by Zeeshan Ali Khan