62 const auto errorHandler =
69 drcItem->SetErrorDetail( aMsg );
71 drcItem->SetItems( aItemA, aItemB, aItemC );
80 [&](
const wxString& aMsg )
83 aMsg, footprint->GetPosition(), footprint->GetLayer() );
93 if( !footprint->Pads().empty() )
96 footprint->GetPosition(), footprint->GetLayer() );
109 if( !
m_drcEngine->IsErrorLimitExceeded( drcPadErrorCode ) )
112 if( !aResult.
message.IsEmpty() )
115 errorHandler( &aPad,
nullptr,
nullptr, drcPadErrorCode,
detail,
124 if( footprint->IsNetTie() )
133 wxEmptyString, aPosition, footprint->GetLayer() );
138 [&](
const wxString& aMsg )
141 footprint->GetPosition(), footprint->GetLayer() );