[fix] Allow creation of errors with code but no message