diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-07 11:03:11 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-07 11:03:11 +0200 |
| commit | 858ded2aa27ab9c86ecf79c1702ef07a2bdf60fe (patch) | |
| tree | c279d261fad33222c3fb7e0c45904b2915f21f1b /app/errors.js | |
| parent | 83ae95e38026c16703a50a78966d583280010f3d (diff) | |
| parent | 7ca1a8e1a3eecd18ee4acea2007b22092da97fd9 (diff) | |
| download | mullvadvpn-858ded2aa27ab9c86ecf79c1702ef07a2bdf60fe.tar.xz mullvadvpn-858ded2aa27ab9c86ecf79c1702ef07a2bdf60fe.zip | |
Merge branch 'update-flow-v0.78'
Diffstat (limited to 'app/errors.js')
| -rw-r--r-- | app/errors.js | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/app/errors.js b/app/errors.js index 993b4d0ff1..7464851a1f 100644 --- a/app/errors.js +++ b/app/errors.js @@ -1,29 +1,15 @@ +// @flow + export class NoCreditError extends Error { constructor() { super("Account doesn't have enough credit available for connection"); } - - get userFriendlyTitle(): string { - return 'Out of time'; - } - - get userFriendlyMessage(): string { - return 'Buy more time, so you can continue using the internet securely'; - } } export class NoInternetError extends Error { constructor() { super('Internet connectivity is currently unavailable'); } - - get userFriendlyTitle(): string { - return 'Offline'; - } - - get userFriendlyMessage(): string { - return 'Your internet connection will be secured when you get back online'; - } } export class NoDaemonError extends Error { |
