I'm attempting to utilize the XCM error within the context of my pallet's error handling, but I'm facing this problem.
The error which i'm using
#[pallet::error]
pub enum Error<T, I = ()> {
SendingError(SendError),
}
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this communityTake a look at how pallet-xcm handles the conversion of the SendError to pallet errors. This might help you with your problem.