# Error handling

This is probably a better example about error handling. It needs explanation.


b.txt

{% embed include file="src/examples/introduction/demo-error/b.txt" %}

c.txt

{% embed include file="src/examples/introduction/demo-error/c.txt" %}

---

{% embed include file="src/examples/introduction/demo-error/src/main.rs" %}
{% embed include file="src/examples/introduction/demo-error/out.out" %}

---

{% embed include file="src/examples/introduction/demo-return-error/src/main.rs" %}
{% embed include file="src/examples/introduction/demo-return-error/out.out" %}

---

{% embed include file="src/examples/introduction/demo-simplified-return-error/src/main.rs" %}
{% embed include file="src/examples/introduction/demo-simplified-return-error/out.out" %}
