nit: bind the error handler to `this` and use `this.showMessageError`