core/src/commands.cpp
changeset 94 8df58d8c99e8
parent 86 849a0b46c767
child 95 b3ffff030d5c
equal deleted inserted replaced
93:2f382fb2036c 94:8df58d8c99e8
  5991 	{
  5991 	{
  5992 	if (iErrorVal >= 0) LeaveIfErr(KErrArgument, _L("Non-negative value %d passed to error command"), iErrorVal);
  5992 	if (iErrorVal >= 0) LeaveIfErr(KErrArgument, _L("Non-negative value %d passed to error command"), iErrorVal);
  5993 
  5993 
  5994 	if (iErrorText)
  5994 	if (iErrorText)
  5995 		{
  5995 		{
  5996 		LeaveIfErr(iErrorVal, *iErrorText);
  5996 		LeaveIfErr(iErrorVal, _L("%S"), iErrorText);
  5997 		}
  5997 		}
  5998 	else
  5998 	else
  5999 		{
  5999 		{
  6000 		User::Leave(iErrorVal);
  6000 		User::Leave(iErrorVal);
  6001 		}
  6001 		}