Template
fix: 清除 platform-flutter 残留代码,重构文档与开发者体验
P0 代码修复:删除 imSdkAppId、清除内网 IP 与原项目域名、修正 USE_MOCK 默认值 P1 CLAUDE.md 重组:零容忍规则前置,新增 dart-defines 字段对照表 P2 文档优化:先跑再配的 setup 流程,新增 architecture.md 架构图
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:sunny_mochi/core/error/exception_mapper.dart'
|
||||
/// **实现 [Exception]**:让 datasource/repository 可以直接 `throw failure;`
|
||||
/// 不触发 `only_throw_errors` lint。
|
||||
///
|
||||
/// 详见 docs/flutter-architecture-design.md §四.2。
|
||||
|
||||
sealed class Failure implements Exception {
|
||||
const Failure({required this.message, this.cause, this.stackTrace});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user