We should probably put the code at the end of the exception message as it can be quite long.