Invokes the parent constructor
Created the model for error template