put some constants in package object
errorFilter