I'm attempting to utilize the XCM error within the context of my pallet's error handling, but I'm facing this problem.

enter image description here

The error which i'm using

pub enum Error<T, I = ()> {


1 Answer 1


Take a look at how pallet-xcm handles the conversion of the SendError to pallet errors. This might help you with your problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.