feat(helpers): add new function for getting a TypeError with a message.