# String to integer tuple API

**URL:** <https://forum.elixirforum.com/t/string-to-integer-tuple-api/24253>\
**Category:** Questions\
**Tags:** strings, parsing, integer\
**Created:** [July 26, 2019, 10:23am UTC](https://forum.elixirforum.com/t/string-to-integer-tuple-api/24253 "2019-07-26T10:23:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Fl4m3Ph03n1x](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fl4m3ph03n1x/32/11709_2.png) [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Post date:** [July 26, 2019, 11:02am UTC](https://forum.elixirforum.com/t/string-to-integer-tuple-api/24253/4 "2019-07-26T11:02:47Z")

</div>

> [@jola](#):
>
> For 1. I disagree with you, I consider it perfectly elixiry.

I respect your opinion, but I would like to direct you to the official Elixir documentation, in specific to this part:

> In Elixir, we avoid using `try/rescue` because **we don’t use errors for control flow**. We take errors literally: they are reserved for unexpected and/or exceptional situations.

Source: [https://elixir-lang.org/getting-started/try-catch-and-rescue.html#errors](https://elixir-lang.org/getting-started/try-catch-and-rescue.html#errors)

> [@NobbZ](#):
>
> , rasie should only happen if the `base` is invalid.

I am aware of this. My objective here is to find out if there is a parsing function in Elixir that doesn’t throw and always returns a tagged tupple. I understand this is not the case, correct?

---

_[View the full topic](https://forum.elixirforum.com/t/string-to-integer-tuple-api/24253)._
