Add error module dev dependency.
Throw error on invalid logger name, closes #11.