error callback
This commit is contained in:
@ -19,7 +19,8 @@ export abstract class OptionSource {
|
||||
opt.filled = true;
|
||||
}
|
||||
catch (e) {
|
||||
// could not assign
|
||||
if (typeof opt.error_callback !== 'undefined')
|
||||
opt.error_callback (opt.name, value, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user