Creates a new instance of this class with an error callback
the error callback used for ths instance
See Implementation
Creates a new instance of this class with an error callback