Sim: Make exception messages slightly more verbose

This commit is contained in:
Mikolaj Wielgus 2022-10-21 08:15:29 +02:00
parent 9819fa43dd
commit f95e77499b
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ bool NETLIST_EXPORTER_SPICE::ReadSchematicAndLibraries( unsigned aNetlistOptions
catch( const IO_ERROR& e )
{
DisplayErrorMessage( nullptr,
wxString::Format( "Failed reading model from symbol '%s':\n%s",
wxString::Format( "Failed reading simulation model from symbol '%s':\n%s",
symbol->GetRef( &sheet ),
e.What() ) );
}

View File

@ -1209,7 +1209,7 @@ void SIM_MODEL::InferredReadDataFields( unsigned aSymbolPinCount, const std::vec
else
{
THROW_IO_ERROR(
wxString::Format( _( "Model of type '%s' cannot have a principal value (which is '%s') in Value field" ),
wxString::Format( _( "Simulation model of type '%s' cannot have a principal value (which is '%s') in Value field" ),
GetTypeInfo().fieldValue,
node->string() ) );
}