Fixed typo in ErrorHandler

`$this` -> `$self`