File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ class APIError extends Error {
15
15
16
16
/** Returns the machine-readable code of the error.
17
17
*
18
- * @returns {string } The machine-readable error code.
18
+ * @type {string } The machine-readable error code.
19
19
*/
20
- code ( ) {
20
+ get code ( ) {
21
21
return this . #code;
22
22
}
23
23
24
24
/** Returns the human-readable message of the error.
25
25
*
26
- * @returns {string } The human-readable error message.
26
+ * @type {string } The human-readable error message.
27
27
*/
28
- message ( ) {
28
+ get message ( ) {
29
29
return this . #message;
30
30
}
31
31
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2021-2022 BuiltByBit (Mick Capital Pty. Ltd.)
2
2
// MIT License (https://github.com/BuiltByBit/js-api-wrapper/blob/main/LICENSE)
3
3
4
+ const { SortOptions } = require ( "../SortOptions" ) ;
5
+
4
6
/**
5
7
* @typedef {object } Alert
6
8
* @property {number } caused_member_id
You can’t perform that action at this time.
0 commit comments