Commit cf6a5cc
committed
Refactor error code handling by restructuring error code extensions
- Removed old error code extension files for auth, local database, platform, REST client, and storage errors.
- Created new error code extension files under a unified error code directory structure.
- Updated import paths in various feature files to reflect the new error code structure.
- Modified error handling in the readings timer bloc to utilize the new error code extensions for better localization support.
- Updated tests to check for localized error messages instead of hardcoded strings.
- Bumped version number to 2.11.12 in pubspec.yaml.1 parent 304e7b2 commit cf6a5cc
44 files changed
Lines changed: 181 additions & 198 deletions
File tree
- assets/lang
- coverage
- lib/src
- core
- helpers/error_code
- auth_error_code
- local_database_error_code
- platform_error_code
- rest_client_error_code
- storage_error_code
- services/app_services/launcher_service
- features
- about/views
- auth/views
- book_detail/views
- widgets/book_pages_reading_time/widgets
- book_on_bookcase_detail/views
- bookcase_books_insertion/views
- bookcase_detail/views
- bookcase_insertion/views
- bookcase/views
- books_picker/views/widgets
- book_on_bookcase_picker/views
- bookcase_picker/views
- separate_books_picker/views
- contacts_picker/views
- home/views
- loan_detail/views
- loan_insertion/views
- loan/views
- my_books/views
- notifications/views
- profile/views
- programming_reading/views
- reading_page_timer/views
- readings_detail/views
- readings_insertion/views
- readings_timer
- bloc
- views
- readings/views
- settings/views/widgets
- test/src/features
- book_detail/views
- bookcase_insertion/views
- bookcase/views
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | | - | |
273 | 270 | | |
274 | 271 | | |
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | 275 | | |
279 | 276 | | |
280 | | - | |
281 | 277 | | |
282 | 278 | | |
283 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | | - | |
273 | 270 | | |
274 | 271 | | |
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | 275 | | |
279 | 276 | | |
280 | | - | |
281 | 277 | | |
282 | 278 | | |
283 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | | - | |
273 | 270 | | |
274 | 271 | | |
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | 275 | | |
279 | 276 | | |
280 | | - | |
281 | 277 | | |
282 | 278 | | |
283 | 279 | | |
| |||
0 commit comments