Skip to content

Commit ae26bef

Browse files
committed
Merge branch 'master' of https://github.com/flutterchina/dio into 100cm-master
2 parents ba9a867 + f242b27 commit ae26bef

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 30
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- important
8+
# Label to use when marking an issue as stale
9+
staleLabel: stale
10+
# Comment to post when marking an issue as stale. Set to `false` to disable
11+
markComment: >
12+
This issue has been automatically marked as stale because it has not had
13+
recent activity. It will be closed if no further activity occurs.
14+
If this is still an issue, please make sure it is up to date and if so,
15+
add a comment that this is still an issue to keep it open.
16+
Thank you for your contributions.
17+
# Comment to post when closing a stale issue. Set to `false` to disable
18+
closeComment: false
19+
20+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
21+
pulls:
22+
daysUntilStale: 60
23+
markComment: >
24+
This pull request has been automatically marked as stale because it has not had
25+
recent activity. It will be closed if no further activity occurs.
26+
If this is still applicable, please make sure it is up to date and if so,
27+
add a comment that this is still an issue to keep it open.
28+
Thank you for your contributions.

package_src/lib/src/dio_error.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ enum DioErrorType {
2323
}
2424

2525
/// DioError describes the error info when request failed.
26-
class DioError extends Error {
26+
class DioError implements Exception {
2727
DioError({
2828
this.request,
2929
this.response,

0 commit comments

Comments
 (0)