Gets the attributes of the node/token the error occurred at.
array<string, mixed>
public function getAttributes() : array { return $this->attributes; }