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

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

        return $this->translator->trans($code, $this->parameters);
    }
protected function resolveMessage ( ) { if ( ! $ this -> translator -> has ( $ code = "errors.$this->errorCode" ) ) { return null ; } return $ this -> translator -> trans ( $ code , $ this -> parameters ) ; }
Resolve an error message from the translator.

@return string|null
Resolve an error message from the translator .