node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import { DataTransferError } from './base.mjs';
import { SeverityKind } from './constants.mjs';
class ProviderError extends DataTransferError {
constructor(severity, message, details){
super('provider', severity, message, details);
}
}
class ProviderInitializationError extends ProviderError {
constructor(message){
super(SeverityKind.FATAL, message, {
step: 'initialization'
});
}
}
// TODO: these types are not working correctly, ProviderTransferError() is accepting any details object rather than requiring T
class ProviderValidationError extends ProviderError {
constructor(message, details){
super(SeverityKind.SILLY, message, {
step: 'validation',
details
});
}
}
// TODO: these types are not working correctly, ProviderTransferError() is accepting any details object rather than requiring T
class ProviderTransferError extends ProviderError {
constructor(message, details){
super(SeverityKind.FATAL, message, {
step: 'transfer',
details
});
}
}
export { ProviderError, ProviderInitializationError, ProviderTransferError, ProviderValidationError };
//# sourceMappingURL=providers.mjs.map