I don't think `ct` is the correct value to use in this error message. Shouldn't it be the type of the `value`?