1

I'm trying to modify the enum errors that the CumulusParachainSystem pallet has, without having to import the pallet to my workspace.

It would be possible to add new errors as well, if so how?

Thanks in advance for any help, or documentation/material. :)

1 Answer 1

2

You can not change the Error from an external pallet.

I don't really know why you would like to do this. In your own pallet you can create your own Error type an return this.

Your Answer

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

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