File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ fn create_pull_request(
150
150
pub ( crate ) enum Error {
151
151
#[ error( "Trouble communicating with the Gitea instance while {activity}: {err}" ) ]
152
152
#[ diagnostic(
153
- code( github :: api_request_error) ,
153
+ code( gitea :: api_request_error) ,
154
154
help(
155
155
"There was a problem communicating with the Gitea instance {host}, this may be a network issue or a permissions issue."
156
156
)
@@ -160,7 +160,7 @@ pub(crate) enum Error {
160
160
activity : String ,
161
161
host : String ,
162
162
} ,
163
- #[ error( "Trouble decoding the response from GitHub while {activity}: {source}" ) ]
163
+ #[ error( "Trouble decoding the response from Gitea while {activity}: {source}" ) ]
164
164
#[ diagnostic(
165
165
code( gitea:: api_response_error) ,
166
166
help(
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ pub(crate) enum Error {
91
91
activity : String ,
92
92
host : String ,
93
93
} ,
94
- #[ error( "Trouble decoding the response from GitHub while {activity}: {source}" ) ]
94
+ #[ error( "Trouble decoding the response from Gitea while {activity}: {source}" ) ]
95
95
#[ diagnostic(
96
96
code( gitea:: api_response_error) ,
97
97
help(
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ pub(crate) enum Error {
59
59
NotConfigured ,
60
60
#[ error( "Trouble communicating with the Gitea instance while {activity}: {err}" ) ]
61
61
#[ diagnostic(
62
- code( github :: api_request_error) ,
62
+ code( gitea :: api_request_error) ,
63
63
help(
64
64
"There was a problem communicating with the Gitea instance {host}, this may be a network issue or a permissions issue."
65
65
)
@@ -69,7 +69,7 @@ pub(crate) enum Error {
69
69
activity : String ,
70
70
host : String ,
71
71
} ,
72
- #[ error( "Trouble decoding the response from GitHub while {activity}: {source}" ) ]
72
+ #[ error( "Trouble decoding the response from Gitea while {activity}: {source}" ) ]
73
73
#[ diagnostic(
74
74
code( gitea:: api_response_error) ,
75
75
help(
You can’t perform that action at this time.
0 commit comments