Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591)
* wrap a bunch of errors * wrap more things! * fix up some unit tests * wrap more errors * tiny bit of tidy up
This commit is contained in:
@@ -48,7 +48,7 @@ export function isExpressionReference(ref?: DataSourceRef | string | null): bool
|
||||
return v === ExpressionDatasourceRef.type || v === '-100'; // -100 was a legacy accident that should be removed
|
||||
}
|
||||
|
||||
class HealthCheckError extends Error {
|
||||
export class HealthCheckError extends Error {
|
||||
details: HealthCheckResultDetails;
|
||||
|
||||
constructor(message: string, details: HealthCheckResultDetails) {
|
||||
|
||||
Reference in New Issue
Block a user