FExceptionArgument constructor
FExceptionArgument([
- String? message,
- String? paramName,
- FException? innerException
Implementation
factory FExceptionArgument([
String? message,
String? paramName,
FException? innerException,
]) {
if (paramName != null) {
if (message != null) {
return FExceptionArgument._(
"Wrong argument '$paramName'. $message", innerException);
} else {
return FExceptionArgument._(
"Wrong argument '$paramName'.", innerException);
}
} else {
return FExceptionArgument._("Wrong argument", innerException);
}
}