Sets whether to catch errors or not during commands execution.
public function setCatchErrors(bool $catchErrors = true) : void { $this->catchErrors = $catchErrors; }