File tree Expand file tree Collapse file tree 23 files changed +37
-0
lines changed Expand file tree Collapse file tree 23 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ pub enum Error {
114
114
BadConfirmation ( AccessControlBadConfirmation ) ,
115
115
}
116
116
117
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
117
118
impl MethodError for Error {
118
119
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
119
120
self . into ( )
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ pub enum Error {
58
58
InvalidOwner ( OwnableInvalidOwner ) ,
59
59
}
60
60
61
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
61
62
impl MethodError for Error {
62
63
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
63
64
self . into ( )
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ pub enum Error {
113
113
InvalidToken ( InvalidToken ) ,
114
114
}
115
115
116
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
116
117
impl From < ownable:: Error > for Error {
117
118
fn from ( value : ownable:: Error ) -> Self {
118
119
match value {
@@ -124,6 +125,7 @@ impl From<ownable::Error> for Error {
124
125
}
125
126
}
126
127
128
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
127
129
impl From < stylus_sdk:: call:: Error > for Error {
128
130
fn from ( value : stylus_sdk:: call:: Error ) -> Self {
129
131
match value {
@@ -139,6 +141,7 @@ impl From<stylus_sdk::call::Error> for Error {
139
141
}
140
142
}
141
143
144
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
142
145
impl From < safe_erc20:: Error > for Error {
143
146
fn from ( value : safe_erc20:: Error ) -> Self {
144
147
match value {
@@ -152,6 +155,7 @@ impl From<safe_erc20::Error> for Error {
152
155
}
153
156
}
154
157
158
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
155
159
impl MethodError for Error {
156
160
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
157
161
self . into ( )
Original file line number Diff line number Diff line change @@ -44,12 +44,14 @@ pub enum Error {
44
44
InvalidOwner ( ownable:: OwnableInvalidOwner ) ,
45
45
}
46
46
47
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
47
48
impl MethodError for Error {
48
49
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
49
50
self . into ( )
50
51
}
51
52
}
52
53
54
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
53
55
impl From < ownable:: Error > for Error {
54
56
fn from ( err : ownable:: Error ) -> Self {
55
57
match err {
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ pub enum Error {
80
80
FailedCallWithReason ( address:: FailedCallWithReason ) ,
81
81
}
82
82
83
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
83
84
impl From < address:: Error > for Error {
84
85
fn from ( e : address:: Error ) -> Self {
85
86
match e {
@@ -92,6 +93,7 @@ impl From<address::Error> for Error {
92
93
}
93
94
}
94
95
96
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
95
97
impl MethodError for Error {
96
98
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
97
99
self . into ( )
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ pub enum Error {
85
85
FailedCallWithReason ( address:: FailedCallWithReason ) ,
86
86
}
87
87
88
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
88
89
impl From < erc1967:: utils:: Error > for Error {
89
90
fn from ( e : erc1967:: utils:: Error ) -> Self {
90
91
match e {
@@ -103,6 +104,7 @@ impl From<erc1967::utils::Error> for Error {
103
104
}
104
105
}
105
106
107
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
106
108
impl MethodError for Error {
107
109
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
108
110
self . into ( )
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ pub enum Error {
98
98
InvalidTokenRoyaltyReceiver ( ERC2981InvalidTokenRoyaltyReceiver ) ,
99
99
}
100
100
101
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
101
102
impl MethodError for Error {
102
103
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
103
104
self . into ( )
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ pub enum Error {
177
177
InvalidArrayLength ( ERC1155InvalidArrayLength ) ,
178
178
}
179
179
180
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
180
181
impl MethodError for Error {
181
182
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
182
183
self . into ( )
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ pub enum Error {
42
42
InvalidCap ( ERC20InvalidCap ) ,
43
43
}
44
44
45
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
45
46
impl MethodError for Error {
46
47
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
47
48
self . into ( )
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ pub enum Error {
146
146
InvalidApprover ( erc20:: ERC20InvalidApprover ) ,
147
147
}
148
148
149
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
149
150
impl From < safe_erc20:: Error > for Error {
150
151
fn from ( value : safe_erc20:: Error ) -> Self {
151
152
match value {
@@ -159,6 +160,7 @@ impl From<safe_erc20::Error> for Error {
159
160
}
160
161
}
161
162
163
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
162
164
impl From < erc20:: Error > for Error {
163
165
fn from ( value : erc20:: Error ) -> Self {
164
166
match value {
@@ -176,6 +178,7 @@ impl From<erc20::Error> for Error {
176
178
}
177
179
}
178
180
181
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
179
182
impl MethodError for Error {
180
183
fn encode ( self ) -> alloc:: vec:: Vec < u8 > {
181
184
self . into ( )
You can’t perform that action at this time.
0 commit comments