Skip to content

Commit 0a7fdf3

Browse files
authored
Sync all throws in stubs (#2715)
[no important files changed]
1 parent 4d4507a commit 0a7fdf3

File tree

128 files changed

+287
-287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+287
-287
lines changed

exercises/practice/accumulate/accumulate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const accumulate = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};

exercises/practice/acronym/acronym.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const parse = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const encode = (phrase, key) => {
2-
throw new Error('Remove this statement and implement this function');
2+
throw new Error('Remove this line and implement the function');
33
};
44

55
export const decode = (phrase, key) => {
6-
throw new Error('Remove this statement and implement this function');
6+
throw new Error('Remove this line and implement the function');
77
};

exercises/practice/all-your-base/all-your-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const convert = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};

exercises/practice/allergies/allergies.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
export class Allergies {
77
constructor() {
8-
throw new Error('Remove this statement and implement this function');
8+
throw new Error('Remove this line and implement the function');
99
}
1010

1111
list() {
12-
throw new Error('Remove this statement and implement this function');
12+
throw new Error('Remove this line and implement the function');
1313
}
1414

1515
allergicTo() {
16-
throw new Error('Remove this statement and implement this function');
16+
throw new Error('Remove this line and implement the function');
1717
}
1818
}

exercises/practice/alphametics/alphametics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const solve = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};

exercises/practice/anagram/anagram.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const findAnagrams = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};

exercises/practice/armstrong-numbers/armstrong-numbers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
//
55

66
export const isArmstrongNumber = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};

exercises/practice/atbash-cipher/atbash-cipher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
//
55

66
export const encode = () => {
7-
throw new Error('Remove this statement and implement this function');
7+
throw new Error('Remove this line and implement the function');
88
};
99

1010
export const decode = () => {
11-
throw new Error('Remove this statement and implement this function');
11+
throw new Error('Remove this line and implement the function');
1212
};

exercises/practice/bank-account/bank-account.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@
55

66
export class BankAccount {
77
constructor() {
8-
throw new Error('Remove this statement and implement this function');
8+
throw new Error('Remove this line and implement the function');
99
}
1010

1111
open() {
12-
throw new Error('Remove this statement and implement this function');
12+
throw new Error('Remove this line and implement the function');
1313
}
1414

1515
close() {
16-
throw new Error('Remove this statement and implement this function');
16+
throw new Error('Remove this line and implement the function');
1717
}
1818

1919
deposit() {
20-
throw new Error('Remove this statement and implement this function');
20+
throw new Error('Remove this line and implement the function');
2121
}
2222

2323
withdraw() {
24-
throw new Error('Remove this statement and implement this function');
24+
throw new Error('Remove this line and implement the function');
2525
}
2626

2727
get balance() {
28-
throw new Error('Remove this statement and implement this function');
28+
throw new Error('Remove this line and implement the function');
2929
}
3030
}
3131

0 commit comments

Comments
 (0)