@@ -1149,6 +1149,7 @@ declare module "svcorelib" {
1149
1149
*/
1150
1150
class SCLError extends Error
1151
1151
{
1152
+ constructor ( message ?: string , options ?: any )
1152
1153
/** A Date instance set to the exact time this Error instance was created */
1153
1154
date : Date ;
1154
1155
}
@@ -1157,37 +1158,49 @@ declare module "svcorelib" {
1157
1158
* 🔹 This error gets thrown if an invalid path was provided 🔹
1158
1159
* @since 1.12.0
1159
1160
*/
1160
- class InvalidPathError extends SCLError { }
1161
+ class InvalidPathError extends SCLError {
1162
+ constructor ( message ?: string , options ?: any )
1163
+ }
1161
1164
1162
1165
/**
1163
1166
* 🔹 This error gets thrown if the provided path is not a folder 🔹
1164
1167
* @since 1.12.0
1165
1168
*/
1166
- class NotAFolderError extends SCLError { }
1169
+ class NotAFolderError extends SCLError {
1170
+ constructor ( message ?: string , options ?: any )
1171
+ }
1167
1172
1168
1173
/**
1169
1174
* 🔹 This error gets thrown if an invalid glob pattern was provided 🔹
1170
1175
* @since 1.12.0
1171
1176
*/
1172
- class PatternInvalidError extends SCLError { }
1177
+ class PatternInvalidError extends SCLError {
1178
+ constructor ( message ?: string , options ?: any )
1179
+ }
1173
1180
1174
1181
/**
1175
1182
* 🔹 This error gets thrown when the terminal that the process runs in doesn't provide a stdin channel 🔹
1176
1183
* @since 1.12.0
1177
1184
*/
1178
- class NoStdinError extends SCLError { }
1185
+ class NoStdinError extends SCLError {
1186
+ constructor ( message ?: string , options ?: any )
1187
+ }
1179
1188
1180
1189
/**
1181
1190
* 🔹 This error gets thrown when an invalid [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) was provided. 🔹
1182
1191
* @since 1.12.0
1183
1192
*/
1184
- class InvalidMimeTypeError extends SCLError { }
1193
+ class InvalidMimeTypeError extends SCLError {
1194
+ constructor ( message ?: string , options ?: any )
1195
+ }
1185
1196
1186
1197
/**
1187
1198
* 🔹 This error gets thrown when a provided SQL connection was not established yet or has ended 🔹
1188
1199
* @since 1.12.0
1189
1200
*/
1190
- class SqlConnectionNotEstablishedError extends SCLError { }
1201
+ class SqlConnectionNotEstablishedError extends SCLError {
1202
+ constructor ( message ?: string , options ?: any )
1203
+ }
1191
1204
}
1192
1205
1193
1206
//#MARKER objects
0 commit comments