error = $error; } /** * @param Error_Consumer $consumer * * @return mixed */ public function feed_consumer( Error_Consumer $consumer ) { return $consumer->consume_error( $this->error ); } /** * @return mixed */ public function get_error() { return $this->error; } }