added errorArgs and errorMsg to ErrorSTO