Almost every error type in the standard library is named SomethingError, not SomethingErr. The one exception is LayoutErr, which is stable and so can’t easily be renamed. Although LayoutErr has more "proximity" to AllocErr (being in the same module) I think we should leave it as a lone inconsistency rather than make it a second naming pattern to follow.
Almost every error type in the standard library is named
SomethingError, notSomethingErr. The one exception isLayoutErr, which is stable and so can’t easily be renamed. AlthoughLayoutErrhas more "proximity" toAllocErr(being in the same module) I think we should leave it as a lone inconsistency rather than make it a second naming pattern to follow.