Merge: chat colours, Ctrl+1-9, starred chats alphabetical
# Conflicts: # app/lib/features/chat/conversation/chat_thread_view.dart # app/tool/perf/perf_fixture.dart # internal/protocol/chat.go # internal/server/chat_close.go # internal/server/chat_sessions.go
This commit is contained in:
@@ -5,10 +5,7 @@
|
||||
/// reason itself, never a Dart diagnostic, so those prefixes are stripped while
|
||||
/// deliberate protocol/refusal messages stay untouched. [fallback] is the
|
||||
/// honest sentence for a failure that carries no text at all.
|
||||
String describeErrorReason(
|
||||
Object error, {
|
||||
required String fallback,
|
||||
}) {
|
||||
String describeErrorReason(Object error, {required String fallback}) {
|
||||
final raw = switch (error) {
|
||||
StateError(:final message) => message.toString(),
|
||||
_ => '$error',
|
||||
|
||||
Reference in New Issue
Block a user