Adjusted error message for shouldNot compile matcher and assertTypeError.