Fixed the formats in error messages, use a function 'die' for fail and changed irritating variable name in error message.
All error messages have been tested. See https://travis-ci.org/dirk-zimoch/StreamDevice/builds builds labelled "testing die function".
Please check if I broke anything in your tests.
Fixed the formats in error messages, use a function 'die' for fail and changed irritating variable name in error message. All error messages have been tested. See https://travis-ci.org/dirk-zimoch/StreamDevice/builds builds labelled "testing die function". Please check if I broke anything in your tests.