src/Exceptions/HttpException.php
protected function getErrors()
    {
        $arr = ['error' => $this->getMessage()];

        if (count($this->attrs) > 0) {
            $arr['attrs'] = $this->getAttrs();
        }

        if (count($this->attrsCustom) > 0) {
            $arr['attrscustom'] = $this->getAttrsCustom();
        }

        return $arr;
    }
protected function getErrors()
    {
        $arr = ['error' => $this->getMessage()];

        if (count($this->attrs) > 0) {
            $arr['attrs'] = $this->getAttrs();
        }

        if (count($this->attrsCustom) > 0) {
            $arr['attrscustom'] = $this->getAttrsCustom();
        }

        return $arr;
    }
protected function getErrors ( ) { $ arr = [ 'error' => $ this -> getMessage ( ) ] ; if ( count ( $ this -> attrs ) > 0 ) { $ arr [ 'attrs' ] = $ this -> getAttrs ( ) ; } if ( count ( $ this -> attrsCustom ) > 0 ) { $ arr [ 'attrscustom' ] = $ this -> getAttrsCustom ( ) ; } return $ arr ; }
Array de erros.

@return array
Array de erros .