You could add the `value` to the error message, should make debugging it slightly easier.