The specs for the "name" property of the different exception classes should be of the form NetworkError and not the code (NETWORK_ERR).