Given that you are using `caller[0]` here to specify the location causing the error, it'd be nice if you included that in the error regexp, to assert that it's always the right line. You can use `__FILE__` and `__LINE__` to avoid hardcoding the file/line.