I would probably make this a subclass of ValueError to be more specific, although admittedly there isn't an immediate benefit to doing so. It's just a habit I like to be in.