shared folder for error message partial
added params
shared partial code