they both raise errors, just in different ways