- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hey,
How about using String groups?
Use below in your library
// Infos, errors or warnings
var Test_STRING_GROUP = new StringGroup("namespace:schema")
try
{
//....
}
catch (e)
{
if (e.soapFault)
logError(Test_STRING_GROUP .error000_1(e.soapFault.faultstring))
else
logError(Test_STRING_GROUP .error000_1(e))
}
Once done, then you can set message and Text in String groups , something like
Message : error000_1
Text : An error occurred: {1}
Thanks,
Kapil