private ErrorsModel GetErrorsModel(MessageException exception)
        {
            var errorsModel = new ErrorsModel();

            errorsModel.AddError(exception.GetType().Name, exception.Message);
            return(errorsModel);
        }