This allows us to keep the error definition in the kernel package without causing circular import errors