Pass the error through on getOrElse

It's standard in JS/TS to call it `err` and you may not care about the error in which case you don't want to put it in your function definition.