public function getError() {
        return (object) [
            "code"    => $this->getCode(),
            "message" => $this->getMessage(),
            "details" => $this->getDetails(),
            "key"     => $this->getKey()
        ];
    }
public function getError() {
        return (object) [
            "code"    => $this->getCode(),
            "message" => $this->getMessage(),
            "details" => $this->getDetails(),
            "key"     => $this->getKey()
        ];
    }
public function getError ( ) { return ( object ) [ "code" => $ this -> getCode ( ) , "message" => $ this -> getMessage ( ) , "details" => $ this -> getDetails ( ) , "key" => $ this -> getKey ( ) ] ; }
Get client error data

@return {stdClass} Client error data
Get client error data