# \#exit-code

**URL:** https://community.postman.com/tag/exit-code/320.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [How to return an exit code other than 0 or 1?](https://community.postman.com/t/how-to-return-an-exit-code-other-than-0-or-1/6594)

<div class="topic-metadata">

**Author:** [@pablovok](https://community.postman.com/u/pablovok)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 1:57pm UTC](https://community.postman.com/t/how-to-return-an-exit-code-other-than-0-or-1/6594 "2019-07-17T13:57:26Z")

</div>

Hello, Is there any way for newman to return an exit code other than 0 or 1, in case any validation fails? Thanks and regards. Pablo.
