add compatible for SActiveRecord::AddError()