We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c74f3f commit 847a50cCopy full SHA for 847a50c
packages/muralpay/src/error.rs
@@ -33,7 +33,7 @@ pub enum TransferError {
33
#[display("no transfer API key")]
34
NoTransferKey,
35
#[display("API error")]
36
- Api(ApiError),
+ Api(Box<ApiError>),
37
#[display("request error")]
38
Request(reqwest::Error),
39
#[display("failed to decode response\n{json:?}")]
@@ -53,7 +53,7 @@ pub enum TransferError {
53
impl From<MuralError> for TransferError {
54
fn from(value: MuralError) -> Self {
55
match value {
56
- MuralError::Api(x) => Self::Api(x),
+ MuralError::Api(x) => Self::Api(Box::new(x)),
57
MuralError::Request(x) => Self::Request(x),
58
MuralError::Decode { source, json } => {
59
Self::Decode { source, json }
0 commit comments