public function executeOnFailure(\closure $closure) { $this->executeOnFailure[] = $closure; return $this; }