Closed MatthiasKreileder closed 8 years ago
Great, thanks @MatthiasKreileder! 😊 We just need a couple of things to tidy up the tests.
TimeoutTests
? We still want to run those on LinuxErrorCodesTests
as wellLinuxMain.swift
in the Tests folderThese should make tests run on both platforms.
Regarding the feature - could you also integrate it into the Error
initializer? Whenever a new error is getting created with a code, we want to supply this looked-up string as part of the error's description. I can help with that once you have the test stuff above ready.
(Just for reference: this fixes #47)
Great stuff, thanks @MatthiasKreileder!
…ionary to look up corresponding error descriptions in string format to the provided error codes (Int values). Also adding tests.