AppException constructor
AppException({
- required dynamic message,
- required StackTrace stackTrace,
- Exception? innerException,
- StackTrace? innerStackTrace,
- dynamic log = true,
Implementation
AppException({
required this.message,
required StackTrace stackTrace,
Exception? innerException,
StackTrace? innerStackTrace,
log = true,
}) {
if (log) {
_logger.fine(
'${runtimeType.toString()} created',
this,
stackTrace,
);
}
this.stackTrace = stackTrace;
this.innerException = innerException;
this.innerStackTrace = innerStackTrace;
}