The current sample demonstrates how custom errors notifications look like. You can ealisy set the error handler using the code mentioned below.