Typechecking: `throwError` instead of `error`