diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-08-02 17:46:12 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-08-02 17:46:12 -0300 |
| commit | 58e73802b39bdbad3b38fc1389105b978a6316c9 (patch) | |
| tree | 6a6d66685b2d450eb40c1bd33c57329d0561c04b /app/errors.js | |
| parent | 36d0345d6b7b29a77fd7da5fd8d2a34d1a09ccf8 (diff) | |
| download | mullvadvpn-58e73802b39bdbad3b38fc1389105b978a6316c9.tar.xz mullvadvpn-58e73802b39bdbad3b38fc1389105b978a6316c9.zip | |
Remove `UnknownError` type
Diffstat (limited to 'app/errors.js')
| -rw-r--r-- | app/errors.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/errors.js b/app/errors.js index 929fa52ab9..993b4d0ff1 100644 --- a/app/errors.js +++ b/app/errors.js @@ -49,13 +49,3 @@ export class CommunicationError extends Error { super('api.mullvad.net is blocked, please check your firewall'); } } - -export class UnknownError extends Error { - constructor(cause: string) { - super(`An unknown error occurred, ${cause}`); - } - - get userFriendlyTitle(): string { - return 'Something went wrong'; - } -} |
