Sim: Make exception messages slightly more verbose
This commit is contained in:
parent
9819fa43dd
commit
f95e77499b
|
@ -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() ) );
|
||||
}
|
||||
|
|
|
@ -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() ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue