Better error codes

IMHO your use case fails because you require(express).errors, and you can get into a circular dependency-hell where express does not have any errors set.