---
title: "Capi Etheriel (@barraponto) | Hashnode"
description: "Senior Instructor. Read the latest articles by Capi Etheriel on Hashnode."
url: "https://hashnode.com/@barraponto"
---

@barraponto

# Capi Etheriel

@barraponto · Joined August 2021

Senior Instructor

## Comments

[That is hardly a fair example of error composition. For starters, Number.parseInt should throw or be replaced with a throwing parseInt function (hiding the details). As for the value > 3, we should not treat an error we raised ourselves! We should either have the caller deal with it or not throw at all: just use Math.min and be done with it.](https://hashnode.com/posts/away-from-exceptions-errors-as-values/612a159dfd0bf8636d76b813/comment/612cd67a2858872661b9db25)

Comment · Article · Aug 30, 2021 · [Away from exceptions: errors as values](https://hashnode.com/posts/away-from-exceptions-errors-as-values/612a159dfd0bf8636d76b813)
