Custom error.yml not getting picked up in Dry-Validation Contract

I’m trying to set up a custom message for an error in the schema of a dry-validation contract

My contract class looks like

class MyContract < Dry::Validation::Contract
  config.messages.load_paths << 'path/to/my/error.yml'
  config.namespace = 'my_contract'
  schema do
     required(:name).value(Types::String.enum('larry', 'moe', 'curly'))
  end
end

error.yml looks like this

en:
  my_contract:
    errors:
      inclusion?: 'nyuk nyuk nyuk'

However, when I put in invalid data the error message is always :name => [ "must be one of: larry, moe, curly"]

What should I change so I get the intended error message?