@@ -40,16 +40,18 @@ pub enum GatewayClientError {
40
40
/// Sequencer error responses not parsable into [`StarknetError`]
41
41
#[ error( transparent) ]
42
42
SequencerError ( SequencerError ) ,
43
- /// Method is not supported (only when using as [Provider] )
43
+ /// Method is not supported (only when using as [` Provider`](crate::Provider) )
44
44
#[ error( "method not supported" ) ]
45
45
MethodNotSupported ,
46
- /// Model conversion error (only when using as [Provider] )
46
+ /// Model conversion error (only when using as [` Provider`](crate::Provider) )
47
47
#[ error( "unable to convert gateway models to jsonrpc types" ) ]
48
48
ModelConversionError ,
49
- /// Simulating multiple transactions is not supported (only when using as [Provider])
49
+ /// Simulating multiple transactions is not supported (only when using as
50
+ /// [`Provider`](crate::Provider))
50
51
#[ error( "simulating multiple transactions not supported" ) ]
51
52
BulkSimulationNotSupported ,
52
- /// At least one of the simulation flags is not supported (only when using as [Provider])
53
+ /// At least one of the simulation flags is not supported (only when using as
54
+ /// [`Provider`](crate::Provider))
53
55
#[ error( "unsupported simulation flag" ) ]
54
56
UnsupportedSimulationFlag ,
55
57
}
@@ -140,7 +142,7 @@ impl SequencerGatewayProvider {
140
142
}
141
143
142
144
/// Consumes the current [`SequencerGatewayProvider`] instance and returns a new one with the
143
- /// header appended. Same as calling [`add_header`].
145
+ /// header appended. Same as calling [`add_header`](fn.add_header) .
144
146
pub fn with_header ( self , name : String , value : String ) -> Self {
145
147
let mut headers = self . headers ;
146
148
headers. push ( ( name, value) ) ;
0 commit comments