Custom type error message

Hey guys I have a custom type that is defined like this:

TimeOfDay = Types::String.constrained(format: /\A\d{2}:\d{2}:\d{2}\z/i)

TypeContainer = Dry::Schema::TypeContainer.new
TypeContainer.register('params.time_of_day', TimeOfDay)

Schema = Dry::Schema.Params do
  config.types = TypeContainer
  required(:time).filled(:time_of_day)
end

They problem I’m having is that when I pass an invalid input I get 'is in invalid format' as error and I would like something custom like 'is not a valid time of day', how can I change it for any schema field using that custom type?

dry-schema doesn’t support custom messages for custom types. Use dry-validation + rules (macros) instead