# Discussion: Treating Changes in Dispatchable Function Errors as Breaking Changes

**URL:** <https://forum.polkadot.network/t/discussion-treating-changes-in-dispatchable-function-errors-as-breaking-changes/11222>\
**Category:** Tech Talk\
**Tags:** frame\
**Created:** [December 21, 2024, 9:53am UTC](https://forum.polkadot.network/t/discussion-treating-changes-in-dispatchable-function-errors-as-breaking-changes/11222 "2024-12-21T09:53:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Alex](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/alex/32/765_2.png) [@Alex](https://forum.polkadot.network/u/Alex)\
**Post date:** [May 13, 2025, 10:01am UTC](https://forum.polkadot.network/t/discussion-treating-changes-in-dispatchable-function-errors-as-breaking-changes/11222/6 "2025-05-13T10:01:52Z")

</div>

Pre-compiles (or chain extensions) should not forward errors from the chain verbatim to the contract. That is way too much of a API surface to keep realistically stable. Error handling should mostly happen off-chain. On-chain it should be a simple success or failure. With pre-compiles you can’t copy errors to the contract anyways anymore: The need to be converted to Solidity types anyways.

The dispatchable system was not designed to be exposed to smart contracts. This is why we build another abstraction (pre-compiles). Its their job to be stable.

---

_[View the full topic](https://forum.polkadot.network/t/discussion-treating-changes-in-dispatchable-function-errors-as-breaking-changes/11222)._
