ConfigurationError constructor
ConfigurationError(
- String parameter, [
- dynamic value
Implementation
ConfigurationError(String parameter, [dynamic value]) {
code = 1;
name = 'CONFIGURATION_ERROR';
this.parameter = parameter;
this.value = value;
message = (value == null)
? 'Missing parameter: $parameter'
: 'Invalid value ${encoder.convert(value)} for parameter "$parameter"';
}