Creates a new instance of this class with the give error callback.
The callback to be called when an error occurs
See Implementation
Creates a new instance of this class with the give error callback.