Used when reporting the invocation of a disallowed operation.