This is a gap in the existing code, but will raising this error be properly handled up above and return a valid message to the user?