> For the complete documentation index, see [llms.txt](https://docs.liquidapps.io/liquidapps-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidapps.io/liquidapps-documentation/dapp-network-services/dapp-network-services/liquidharmony/additional-features/dont-spend-cpu-condition.md).

# Don't spend CPU condition

#### Custom eosio assertion message

By throwing an error containing what's outline below will result in the DSP gracefully failing the transaction without spending CPU.  So for example if you have a price feed and you only want to update it when the price has moved by more than 1%, then you can throw that error until that condition is met.

```cpp
eosio::check(false, "{abort_service_request}");
```
