diff options
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 { |
