Class: NetworkError

soundproof. NetworkError


new NetworkError(message)

This error indicates that SoundProofJS was unable to connect to the Futurae server (or connection was interrupted), and thus SoundProof cannot be executed successfully. This is often likely due to firewall policies or other restrictive measures that block cross-origin communication. If approve combo is used, you should prompt the user to manually approve the login. Otherwise you should fallback to another secondary authentication method. Note that, because the connection to the server failed you will not be able to receive further updates about the authentication attempt on the client-side.
Parameters:
Name Type Description
message string Optional. Human-readable description of the error.
Properties:
Name Type Description
message string Error message.
name string Error name.

Extends