Gets the snippet of code near the error.
public function getSnippet() : string { return $this->snippet; }