protected function resolveMessage()
    {
        if (! $this->translator->has($code = "errors.$this->errorCode")) {
            return null;
        }

        return $this->translator->trans($code, $this->parameters);
    }