make sure to call error callbacks when plugins call error!