String generateError(Exception e, String? error) { final errorOutput = error == null ? '' : ' \n$error'; return '\n✗ ERROR: ${(e).runtimeType.toString()}$errorOutput'; }