Hmm i could've sworn there was a throwError function already somewhere, but no