Closed b0xtch closed 2 years ago
This will extend the usage of the enum type TxError::Other to support arbitrary strings. This will help in surfacing errors coming from cap or anything else.
TxError::Other
Ex:
TxError::Other(format!( "Inserting into cap failed with error: {:?}", error ))
Updated spec and motoko implementation
This will extend the usage of the enum type
TxError::Other
to support arbitrary strings. This will help in surfacing errors coming from cap or anything else.Ex: