Support strict and non-strict errors