Replace XCM Error::Undefined usage (#2580)

* Replace undefined error in currency adapter.

* Update tranact asset errors.

* Update TransactAsset trait documentations.

* Update currency adapter error documentation.
This commit is contained in:
Shaun Wang
2021-03-10 03:46:30 +13:00
committed by GitHub
parent 2e34eed312
commit d859734ed9
3 changed files with 51 additions and 10 deletions
+1
View File
@@ -37,6 +37,7 @@ pub enum Error {
FailedToDecode,
BadOrigin,
ExceedsMaxMessageSize,
FailedToTransactAsset(#[codec(skip)] &'static str),
}
impl From<()> for Error {