Use error type for MessageMap errors